diff options
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index b68d501..a889e9a 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -11,10 +11,7 @@ class nodo::vserver inherits nodo { dohwinfo => false, } - $hosting_type = $node_hosting_type ? { - '' => "direct", - default => "$node_hosting_type", - } + $hosting_type = hiera('nodo::vserver::hosting_type', 'direct') case $hosting_type { "direct": { @@ -22,16 +19,13 @@ class nodo::vserver inherits nodo { # for directly hosted nodes. Munin_node <<| title == $::hostname |>> Monkeysphere_host <<| title == $::hostname |>> - - # Set proxy configuration - $nodo_https_proxy = 'yes' } "third-party": { # Apply munin and monkeysphere configuration for # nodes hosted by third-parties. munin_node { "${::hostname}": } monkeysphere_host { "${::hostname}": - port => $node_ssh_port, + port => hiera('nodo::vserver::ssh_port', '22'), } # Nagios configuration |