1
0
mirror of https://github.com/ardichoke/puppet-arpwatch.git synced 2026-05-11 02:15:37 -04:00

3 Commits

Author SHA1 Message Date
dac5fbcca9 Update puppet-lint.yml
Update lint command
2022-11-02 14:03:36 -04:00
5069fb7da4 Create puppet-lint.yml 2022-11-02 13:53:30 -04:00
f42b4a6a82 Update documentation 2022-03-02 09:31:34 -05:00
3 changed files with 63 additions and 12 deletions

48
.github/workflows/puppet-lint.yml vendored Normal file
View 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

View File

@@ -2,10 +2,20 @@
All notable changes to this project will be documented in this file. 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 ## 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

View File

@@ -1,6 +1,6 @@
# arpwatch # arpwatch
#### Table of Contents ## Table of Contents
1. [Description](#description) 1. [Description](#description)
1. [Setup - The basics of getting started with arpwatch](#setup) 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` #### `opts`
Specify additional options to pass to arpwatch at start. Valid options: string of command line options. Default: OS dependant Specify additional options to pass to arpwatch at start. Valid options: string of command line options. Default: OS dependant
#### `package_ensure` #### `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' 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 ## Development
Pull requests are welcome. Please make sure to properly document any additions or changes made to the module. 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