|
94 | 94 |
|
95 | 95 | it { is_expected.to contain_class('puppet::agent::service::systemd').with_enabled(false) } |
96 | 96 | case os |
97 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux)-/ |
| 97 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux|oraclelinux|almalinux|rocky)-/ |
98 | 98 | it do |
99 | 99 | is_expected.to contain_service('puppet-run.timer') |
100 | 100 | .with_ensure(false) |
|
171 | 171 | case os |
172 | 172 | when /\A(windows|archlinux)/ |
173 | 173 | it { is_expected.to raise_error(Puppet::Error, /Runmode of cron not supported on #{facts[:kernel]} operating systems!/) } |
174 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles)-/ |
| 174 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|oraclelinux|almalinux|rocky)-/ |
175 | 175 | it { is_expected.to compile.with_all_deps } |
176 | 176 | it { is_expected.to contain_concat__fragment('puppet.conf_agent') } |
177 | 177 | it { is_expected.to contain_class('puppet::agent::service::cron').with_enabled(true) } |
|
219 | 219 | case os |
220 | 220 | when /\A(windows|archlinux)/ |
221 | 221 | it { is_expected.to raise_error(Puppet::Error, /Runmode of cron not supported on #{facts[:kernel]} operating systems!/) } |
222 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles)-/ |
| 222 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|oraclelinux|almalinux|rocky)-/ |
223 | 223 | it { is_expected.to contain_class('puppet::agent::service::cron').with_enabled(true) } |
224 | 224 | it { is_expected.to contain_class('puppet::agent::service::daemon').with_enabled(false) } |
225 | 225 | it do |
|
260 | 260 | end |
261 | 261 |
|
262 | 262 | case os |
263 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux)-/ |
| 263 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux|oraclelinux|almalinux|rocky)-/ |
264 | 264 | it { is_expected.to compile.with_all_deps } |
265 | 265 | it { is_expected.to contain_class('puppet::agent::service::daemon').with_enabled(false) } |
266 | 266 | it { is_expected.to contain_class('puppet::agent::service::cron').with_enabled(false) } |
|
303 | 303 | end |
304 | 304 |
|
305 | 305 | case os |
306 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux)-/ |
| 306 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux|oraclelinux|almalinux|rocky)-/ |
307 | 307 | it { is_expected.to compile.with_all_deps } |
308 | 308 | it { is_expected.to contain_class('puppet::agent::service::daemon').with_enabled(false) } |
309 | 309 | it { is_expected.to contain_class('puppet::agent::service::cron').with_enabled(false) } |
|
351 | 351 | it { is_expected.to contain_class('puppet::agent::service::systemd').with_enabled(false) } |
352 | 352 |
|
353 | 353 | case os |
354 | | - when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux)-/ |
| 354 | + when /\A(debian|redhat|centos|scientific|fedora|ubuntu|sles|archlinux|oraclelinux|almalinux|rocky)-/ |
355 | 355 | it { is_expected.to contain_service('puppet-run.timer').with_ensure(false) } |
356 | 356 | else |
357 | 357 | it { is_expected.not_to contain_service('puppet-run.timer') } |
|
0 commit comments