Skip to content

Commit

Permalink
Merge pull request #185 from bastelfreak/el8
Browse files Browse the repository at this point in the history
Add EL9 support
  • Loading branch information
traylenator authored Aug 26, 2024
2 parents cf32094 + 171fb9d commit 2f28e60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,22 @@
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
describe 'squid class' do
context 'configure http_access with default service type' do
it 'works idempotently with no errors' do

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081340713.LflhCB.pp Last 10 lines of output were: Aug 26 08:15:49 almalinux8-64-puppet8.example.com squid[849]: Squid Parent: squid-1 process 851 exited with status 0 Aug 26 08:15:49 almalinux8-64-puppet8.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:15:49 almalinux8-64-puppet8.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 126.60 seconds

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081337937.rFxtCY.pp Last 10 lines of output were: Aug 26 08:15:46 almalinux8-64-puppet7.example.com squid[849]: Squid Parent: squid-1 process 851 exited with status 0 Aug 26 08:15:46 almalinux8-64-puppet7.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:15:46 almalinux8-64-puppet7.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 126.36 seconds

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081346026.qPnC0X.pp Last 10 lines of output were: Aug 26 08:15:56 rocky8-64-puppet8.example.com squid[784]: Squid Parent: squid-1 process 786 exited with status 0 Aug 26 08:15:56 rocky8-64-puppet8.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:15:56 rocky8-64-puppet8.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 128.83 seconds

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081341984.wHKB0f.pp Last 10 lines of output were: Aug 26 08:15:51 rocky8-64-puppet7.example.com squid[784]: Squid Parent: squid-1 process 786 exited with status 0 Aug 26 08:15:51 rocky8-64-puppet7.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:15:51 rocky8-64-puppet7.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 127.40 seconds

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081358743.aYqOGK.pp Last 10 lines of output were: Aug 26 08:16:07 oracle8-64-puppet8.example.com squid[760]: Squid Parent: squid-1 process 762 exited with status 0 Aug 26 08:16:07 oracle8-64-puppet8.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:16:07 oracle8-64-puppet8.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 126.90 seconds

Check warning on line 7 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

squid class configure http_access with default service type works idempotently with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081403509.0WMgVP.pp Last 10 lines of output were: Aug 26 08:16:12 oracle8-64-puppet7.example.com squid[761]: Squid Parent: squid-1 process 763 exited with status 0 Aug 26 08:16:12 oracle8-64-puppet7.example.com systemd[1]: squid.service: Failed with result 'timeout'. Aug 26 08:16:12 oracle8-64-puppet7.example.com systemd[1]: Failed to start Squid caching proxy. �[mNotice: /Stage[main]/Squid::Service/Service[squid]: Triggered 'refresh' from 1 event Info: Class[Squid::Service]: Unscheduling all events on Class[Squid::Service] Info: Class[Squid]: Unscheduling all events on Class[Squid] Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 126.92 seconds
pending('the default Type=notify in squid.service working again on CentOS 8') if fact('os.family') == 'RedHat' && fact('os.release.major') != '7'
pending('the default Type=notify in squid.service fail on CentOS 8') if fact('os.family') == 'RedHat' && fact('os.release.major') == '8'
pp = <<-EOS
# The default Type=notify is problematic in github CI.
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] != '7' {
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '8' {
systemd::dropin_file{'simple.conf':
ensure => absent,
unit => 'squid.service',
Expand Down

0 comments on commit 2f28e60

Please sign in to comment.