Project

General

Profile

Download (1.57 KB) Statistics
| Branch: | Tag: | Revision:
class puppet::params {

# Basic config
$user = 'puppet'
$dir = '/etc/puppet'
$ca = true
$passenger = true
$port = 8140

# Need your own config templates? Specify here:
$agent_template = 'puppet/puppet.conf.erb'
$master_template = 'puppet/server/puppet.conf.erb'

# Set 'false' for staic environments, or 'true' for git-based workflow
$git_repo = false

# Static environments config, ignore if the git_repo is 'true'
# What environments do we have
$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"

# Dynamic environments config, ignore if the git_repo is 'false'
# Path to the repository
$git_repo_path = '/var/lib/puppet/puppet.git'
# Where to checkout the branches
$envs_dir = "${dir}/environments"
# Override these if you need your own hooks
$post_hook_content = 'puppet/server/post-receive.erb'
$post_hook_name = 'post-receive'

# Passenger config
$app_root = "${dir}/rack"
$ssl_dir = '/var/lib/puppet/ssl'

$master_package = $::operatingsystem ? {
/(Debian|Ubuntu)/ => ['puppetmaster'],
default => ['puppet-server'],
}

# This only applies to puppet::cron
$cron_range = 60 # the maximum value for our cron
$cron_interval = 2 # the amount of values within the $cron_range
}
(6-6/8)