Revision 1ab13bfe
Added by Michael Moll almost 6 years ago
spec/classes/puppet_agent_service_systemd_spec.rb | ||
---|---|---|
end
|
||
|
||
case os
|
||
when /\Adebian-(8|9)/, /\A(redhat|centos|scientific)-7/, /\Afedora-/, /\Aubuntu-16/, /\Aarchlinux-/
|
||
when /\Adebian-/, /\A(redhat|centos|scientific)-7/, /\Afedora-/, /\Aubuntu-(16|18)/, /\Aarchlinux-/
|
||
it 'should disable systemd timer' do
|
||
should contain_class('puppet::agent::service::systemd').with({
|
||
'enabled' => false,
|
||
... | ... | |
end
|
||
|
||
case os
|
||
when /\Adebian-(8|9)/, /\A(redhat|centos|scientific)-7/, /\Afedora-/, /\Aubuntu-16/, /\Aarchlinux-/
|
||
when /\Adebian-/, /\A(redhat|centos|scientific)-7/, /\Afedora-/, /\Aubuntu-(16|18)/, /\Aarchlinux-/
|
||
it 'should enable systemd timer' do
|
||
should contain_class('puppet::agent::service::systemd').with_enabled(true)
|
||
|
Also available in: Unified diff
Support Ubuntu/bionic, drop Debian 7 & Fedora 25 (#605)