add motd to the profiles nbase

This commit is contained in:
root 2020-01-15 20:20:16 +00:00
parent 2279e0af18
commit 70a69a4c67
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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': }
}

View File

@ -0,0 +1,4 @@
class profile::base::motd (
) {
class { '::motd':
}