Merge "init: Let a deployer manage sudo rules"
This commit is contained in:
@@ -136,6 +136,10 @@ This node is under the control of Puppet ${::puppetversion}.
|
|||||||
domain => $site_domain
|
domain => $site_domain
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Sudo
|
||||||
|
include ::sudo
|
||||||
|
include ::sudo::configs
|
||||||
|
|
||||||
# NTP
|
# NTP
|
||||||
include ::ntp
|
include ::ntp
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ describe 'cloud' do
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it {is_expected.to contain_class('sudo')}
|
||||||
|
it {is_expected.to contain_class('sudo::configs')}
|
||||||
it {is_expected.to contain_class('ntp')}
|
it {is_expected.to contain_class('ntp')}
|
||||||
|
|
||||||
it {is_expected.to contain_file('/etc/motd').with(
|
it {is_expected.to contain_file('/etc/motd').with(
|
||||||
|
|||||||
Reference in New Issue
Block a user