mirror of
https://github.com/ardichoke/puppet-arpwatch.git
synced 2026-05-11 02:15:37 -04:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dac5fbcca9 | |||
| 5069fb7da4 | |||
| f42b4a6a82 |
48
.github/workflows/puppet-lint.yml
vendored
Normal file
48
.github/workflows/puppet-lint.yml
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
# Puppet Lint tests Puppet code against the recommended Puppet language style guide.
|
||||
# https://puppet.com/docs/puppet/7/style_guide.html
|
||||
# Puppet Lint validates only code style; it does not validate syntax.
|
||||
# To test syntax, use Puppet's puppet parser validate command.
|
||||
# More details at https://github.com/puppetlabs/puppet-lint/
|
||||
|
||||
name: puppet-lint
|
||||
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
puppet-lint:
|
||||
name: Run puppet-lint scanning
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read # for checkout to fetch code
|
||||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
||||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Ruby, JRuby and TruffleRuby
|
||||
uses: ruby/setup-ruby@v1.120.0
|
||||
with:
|
||||
ruby-version: 2.7
|
||||
bundler-cache: true
|
||||
|
||||
- name: Install puppet-lint
|
||||
run: gem install puppet-lint
|
||||
|
||||
- name: Run puppet-lint
|
||||
run: puppet-lint **/*.pp --sarif > puppet-lint-results.sarif
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload analysis results to GitHub
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
sarif_file: puppet-lint-results.sarif
|
||||
wait-for-processing: true
|
||||
16
CHANGELOG.md
16
CHANGELOG.md
@@ -2,10 +2,20 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## Release 0.3.0
|
||||
|
||||
* Updated PDK structure
|
||||
* Reorganized module from params style to hiera data style
|
||||
* Updated support for newer versions of RHEL and Debian
|
||||
|
||||
## Release 0.2.1
|
||||
|
||||
**Features**
|
||||
* Added Debian support
|
||||
|
||||
**Bugfixes**
|
||||
## Release 0.1.2
|
||||
|
||||
**Known Issues**
|
||||
* Added spec tests and dependencies
|
||||
|
||||
## Release 0.1.0
|
||||
|
||||
* Inital release of arpwatch module
|
||||
|
||||
11
README.md
11
README.md
@@ -1,6 +1,6 @@
|
||||
# arpwatch
|
||||
|
||||
#### Table of Contents
|
||||
## Table of Contents
|
||||
|
||||
1. [Description](#description)
|
||||
1. [Setup - The basics of getting started with arpwatch](#setup)
|
||||
@@ -60,6 +60,7 @@ Specifies the interface to monitor for arp changes. Valid options: string contai
|
||||
#### `opts`
|
||||
|
||||
Specify additional options to pass to arpwatch at start. Valid options: string of command line options. Default: OS dependant
|
||||
|
||||
#### `package_ensure`
|
||||
|
||||
Tells Puppet whether the arpwatch package should be installed, and what version. Valid options: 'present', 'latest', or a specific version number. Default value: 'present'
|
||||
@@ -96,11 +97,3 @@ Pull requests are welcome to add support for other platforms.
|
||||
## Development
|
||||
|
||||
Pull requests are welcome. Please make sure to properly document any additions or changes made to the module.
|
||||
|
||||
## Release Notes
|
||||
|
||||
v0.2.0 - Add support for Debian
|
||||
|
||||
v0.1.2 - Add spec tests and dependencies
|
||||
|
||||
v0.1.0 - Initial release of arpwatch module
|
||||
|
||||
Reference in New Issue
Block a user