summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
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