add motd to the profiles nbase
This commit is contained in:
parent
2279e0af18
commit
70a69a4c67
@ -13,6 +13,7 @@ mod 'puppetlabs-apache', '5.3.0'
|
||||
mod 'ghoneycutt-ssh', '3.61.0'
|
||||
mod 'puppet-selinux', '3.1.0'
|
||||
mod 'puppetlabs-puppetserver_gem', '1.1.1'
|
||||
mod 'puppetlabs-motd', '4.0.0'
|
||||
|
||||
# Modules from Git
|
||||
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
|
||||
|
@ -7,7 +7,11 @@ class profile::base (
|
||||
Boolean $resolver = false,
|
||||
Boolean $ssh = true,
|
||||
Boolean $selinux = true,
|
||||
Boolean $motd = true,
|
||||
) {
|
||||
if $motd {
|
||||
class { '::motd': }
|
||||
}
|
||||
if $firewall {
|
||||
class { '::profile::base::firewall': }
|
||||
}
|
||||
|
4
site-modules/profile/manifests/base/motd.pp
Normal file
4
site-modules/profile/manifests/base/motd.pp
Normal file
@ -0,0 +1,4 @@
|
||||
class profile::base::motd (
|
||||
) {
|
||||
class { '::motd':
|
||||
}
|
Loading…
Reference in New Issue
Block a user