Puppet Class: puppet::server::setup
- Inherits:
- puppet::params
- Defined in:
- manifests/server/setup.pp
Summary
Puppet server environment setupOverview
puppet::server::setup
This class setup dynamic environments using r10k invocation. If r10k is not configured, than it will setup it from template
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/server/setup.pp', line 10
class puppet::server::setup (
Boolean $r10k_config_manage = true,
Boolean $r10k_crontab_setup = $puppet::r10k_crontab_setup,
) inherits puppet::params {
include puppet::r10k::install
include puppet::r10k::setup
include puppet::server::keys
class { 'puppet::r10k::run':
cwd => '/',
}
if $r10k_config_manage {
include puppet::r10k::config
# no sense to have crontab without r10k configuration
if $r10k_crontab_setup {
include puppet::r10k::crontab
}
Class['puppet::r10k::config'] ~> Class['puppet::r10k::run']
}
}
|