base: ensure cron is running & enabled
To allow for example logrotate to run every night … Fixes bug#292
This commit is contained in:
parent
620bb69399
commit
b6b60f3c73
@ -65,4 +65,9 @@ This node is under the control of Puppet ${::puppetversion}.
|
||||
uid => '0',
|
||||
}
|
||||
|
||||
service { 'cron':
|
||||
ensure => running,
|
||||
enable => true
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -56,6 +56,11 @@ describe 'cloud' do
|
||||
)
|
||||
end
|
||||
|
||||
it { shoud contain_service('cron').with({
|
||||
:ensure => 'running',
|
||||
:enable => true
|
||||
}) }
|
||||
|
||||
end
|
||||
|
||||
context 'on Debian platforms' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user