Merge pull request #293 from enovance/bug/292/fc

base: ensure cron is running & enabled
This commit is contained in:
Emilien Macchi 2014-02-24 11:43:28 +01:00
commit 025b285dd6
2 changed files with 10 additions and 0 deletions

View File

@ -65,4 +65,9 @@ This node is under the control of Puppet ${::puppetversion}.
uid => '0',
}
service { 'cron':
ensure => running,
enable => true
}
}

View File

@ -56,6 +56,11 @@ describe 'cloud' do
)
end
it { shoud contain_service('cron').with({
:ensure => 'running',
:enable => true
}) }
end
context 'on Debian platforms' do