File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11name : Puppet module
22on :
33 push :
4- paths :
5- - .github/workflows/puppet.yaml
6- - puppet/**
4+ branches :
5+ - main
76 pull_request : {} # any target
87 schedule :
98 - cron : ' 0 0 * * 0' # weekly
109
1110jobs :
1211 prep :
1312 name : Download modules
14- runs-on : ubuntu-20 .04
13+ runs-on : ubuntu-24 .04
1514 steps :
1615 - name : Checkout repository
1716 uses : actions/checkout@v4
3231 ./puppet/prep.sh
3332
3433 puppet-lint :
35- runs-on : ubuntu-latest
34+ runs-on : ubuntu-24.04
3635 permissions :
3736 contents : read # for checkout to fetch code
3837 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
5352 run : gem install puppet-lint
5453
5554 - name : Run puppet-lint
56- run : puppet-lint . --sarif > puppet-lint-results.sarif
55+ run : puppet-lint puppet --sarif --ignore-paths 'puppet/modules/anms/files/*' > puppet-lint-results.sarif
5756
5857 - name : Upload analysis results to GitHub
5958 if : always()
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ hierarchy:
55 - name : " Override of any other data"
66 path : " override.yaml"
77 - name : " Per-host data"
8- path : " fqdn/%{fqdn}.yaml"
8+ path : " fqdn/%{facts.networking. fqdn}.yaml"
99 - name : " Per-OS defaults"
1010 path : " os/%{facts.os.family}.yaml"
1111 - name : " Common data"
Original file line number Diff line number Diff line change 1818 }
1919 class { 'selinux' : }
2020 package { 'udica' :
21- ensure => ' installed' ,
21+ ensure => ' installed' ,
2222 }
2323
2424 class { 'firewalld' : }
You can’t perform that action at this time.
0 commit comments