puppet-puppet/manifests/params.pp @ 1c0eed2c
96cab9ae | Ohad Levy | class puppet::params {
|
|
15e686fb | Jan Vansteenkiste | ||
96cab9ae | Ohad Levy | include foreman::params
|
|
15e686fb | Jan Vansteenkiste | $user = 'puppet'
|
|
$dir = '/etc/puppet'
|
|||
96cab9ae | Ohad Levy | $ca = true
|
|
$passenger = true
|
|||
09661d61 | Ohad Levy | ||
# use static environments or ignore the following line and enable git dynamic environments
|
|||
$environments = ['development', 'production']
|
|||
# where we store our puppet modules
|
|||
$modules_path = "${dir}/modules"
|
|||
# modules in this directory would be shared across all environments
|
|||
$common_modules_path = "${modules_path}/common"
|
|||
$git_repo = false
|
|||
50d6510d | Ohad Levy | $git_repo_path = '/var/lib/puppet/puppet.git'
|
|
09661d61 | Ohad Levy | $envs_dir = "${dir}/environments"
|
|
96cab9ae | Ohad Levy | $apache_conf_dir = $foreman::params::apache_conf_dir
|
|
15e686fb | Jan Vansteenkiste | $app_root = "${dir}/rack"
|
|
$ssl_dir = '/var/lib/puppet/ssl'
|
|||
1c0eed2c | Ohad Levy | ||
076d79da | Ohad Levy | $master_package = $::operatingsystem ? {
|
|
/(Debian|Ubuntu)/ => ['puppetmaster'],
|
|||
default => ['puppet-server'],
|
|||
}
|
|||
15e686fb | Jan Vansteenkiste | ||
1c0eed2c | Ohad Levy | $cron_range = 60 # the maximum value for our cron
|
|
$cron_interval = 2 # the amount of values within the $cron_range
|
|||
96cab9ae | Ohad Levy | }
|