diff options
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 17be6c3..d27b4f4 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -3,14 +3,6 @@ class nodo::vserver inherits nodo { include timezone include syslog-ng::vserver - case $puppetmaster_port { - '': { $puppetmaster_port = "8140" } - } - - case $puppetmaster_nonssl_port { - '': { $puppetmaster_nonssl_port = "8141" } - } - backupninja::sys { "sys": ensure => present, partitions => false, @@ -50,6 +42,16 @@ class nodo::vserver inherits nodo { $id = $context } + # set puppetmaster ssl port + case $puppetmaster_port { + '': { $puppetmaster_port = "8140" } + } + + # set puppetmaster non-ssl port + case $puppetmaster_nonssl_port { + '': { $puppetmaster_nonssl_port = "8141" } + } + vserver { $name: ensure => $ensure, context => "$context", |