Merge "init: Let a deployer manage sudo rules"

This commit is contained in:
Jenkins
2015-02-19 16:52:31 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -136,6 +136,10 @@ This node is under the control of Puppet ${::puppetversion}.
domain => $site_domain
}
# Sudo
include ::sudo
include ::sudo::configs
# NTP
include ::ntp

View File

@@ -38,6 +38,8 @@ describe 'cloud' do
}
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_file('/etc/motd').with(