diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 23:49:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 23:49:02 -0300 |
commit | 19105836d42aea250da8f34b3ea29fa5338f2eb5 (patch) | |
tree | f85959740d78f2ac8f018350748c16507ca12d41 /manifests/init.pp | |
parent | 68febbb01d3226c2159f6d70440a9154f467fd03 (diff) | |
download | puppet-nginx-19105836d42aea250da8f34b3ea29fa5338f2eb5.tar.gz puppet-nginx-19105836d42aea250da8f34b3ea29fa5338f2eb5.tar.bz2 |
Introducing $puppetmaster_certname
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 4 |
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 |