-
Notifications
You must be signed in to change notification settings - Fork 183
/
environment.conf
30 lines (22 loc) · 1.33 KB
/
environment.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# The environment configuration file
# The main manifest directory or file where Puppet starts to evaluate code
# This is the default value. Works with just a site.pp file or any other .pp
manifest = manifests/
# The directories added to the module path, looked in first match first used order:
# site - The local site modules, included in this control-repo
# modules - Directory for external modules, populated by r10k based on Puppetfile
# $basemodulepath - As from: puppet config print basemodulepath
modulepath = site:modules:$basemodulepath
# Set the cache timeout for this environment
# Example to always cache catalogs (better perfs in high traffic systems):
# environment_timeout = unlimited
# Note: unlimited caching requires that whenever changes thePuppet code and data
# to serve to clients, the cache is flushed. This is done by Code Manager on PE
# or any workflow that flushes caches at every deployment.
# This can also be done manually running: bin/puppet_flush_environment_cache.sh
# Example to completely disable catalog caching (necessary when developing):
environment_timeout = 0
# The script to run to determine Puppet configuration version
# Here we pass to one in the control repo the Puppet environment (and git branch)
# to get title and essential info of the last git commit
config_version = 'bin/config_script.sh $environment'