Merge pull request #588 from enovance/include-ntp
init: use include for ntp class
This commit is contained in:
commit
b5ac740bee
@ -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':
|
||||
|
@ -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)
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user