New parameter purge_unmanaged_rules to reload nftables if configuration does not match reality #453
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nftables | |
on: pull_request | |
jobs: | |
all_rules_acceptance: | |
runs-on: ubuntu-latest | |
name: "All rules included in acceptance tests" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check | |
run: bash -c "awk '/^class / {print \$2}' manifests/rules/*.pp manifests/rules/out/*.pp | xargs -i sh -c 'grep -F {} spec/acceptance/all_rules_spec.rb -q || exit 255'" |