control-repo/site-modules/profile/manifests/base.pp
chris lawrence dbb036d24a updated
"
2020-09-28 15:54:23 +01:00

36 lines
718 B
Puppet

class profile::base (
Boolean $firewall = false,
Boolean $time = true,
Boolean $repos = false,
Boolean $resolv = false,
Boolean $ssh = false,
Boolean $selinux = false,
Boolean $motd = true,
Boolean $oracle = false
) {
if $motd {
class { '::motd': }
}
if $firewall {
class { '::profile::base::firewall': }
}
if $time {
class { '::profile::base::time': }
}
if $repos {
class { '::profile::base::repositories': }
}
if $resolv {
class { '::profile::base::resolv': }
}
if $ssh {
class { '::profile::base::ssh': }
}
if $selinux {
class { '::profile::base::selinux': }
}
if $oracle {
class { '::profile::app::oracle': }
}
}