summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 23:49:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 23:49:02 -0300
commit19105836d42aea250da8f34b3ea29fa5338f2eb5 (patch)
treef85959740d78f2ac8f018350748c16507ca12d41 /manifests/init.pp
parent68febbb01d3226c2159f6d70440a9154f467fd03 (diff)
downloadpuppet-nginx-19105836d42aea250da8f34b3ea29fa5338f2eb5.tar.gz
puppet-nginx-19105836d42aea250da8f34b3ea29fa5338f2eb5.tar.bz2
Introducing $puppetmaster_certname
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4df1af6..a51fe67 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -133,6 +133,10 @@ class nginx::puppetmaster inherits nginx::base {
default => $puppetmaster_puppetmasters,
}
+ case $puppetmaster_certname {
+ '': { $puppetmaster_certname = "puppet,$domain" }
+ }
+
$worker_connections = 1024
$ssl_port = 8140
$non_ssl_port = 8141