Merge pull request #588 from enovance/include-ntp

init: use include for ntp class
This commit is contained in:
Yanis Guenane 2014-08-21 12:22:49 -04:00
commit b5ac740bee
2 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,7 @@ This node is under the control of Puppet ${::puppetversion}.
}
# NTP
class { 'ntp': }
include ::ntp
# Strong root password for all servers
user { 'root':

View File

@ -37,6 +37,9 @@ describe 'cloud' do
:mode => '0644'
}
end
it {should contain_class('ntp')}
it {should contain_file('/etc/motd').with(
{:ensure => 'file'}.merge(file_defaults)
)}