aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/puppet/templates/puppet.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/puppet/templates/puppet.conf b/modules/puppet/templates/puppet.conf
index 32a41ad8..795e4040 100644
--- a/modules/puppet/templates/puppet.conf
+++ b/modules/puppet/templates/puppet.conf
@@ -39,7 +39,9 @@
splay = true
report = true
-
+<% if environment %>
+ environment = <%= environment %>
+<% end %>
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``