diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 15:40:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 15:40:46 -0200 |
commit | 51622c10f922671cb8bcb1cda874f64ea932a462 (patch) | |
tree | 3e1540a8eca3b4c463edbdeb9e99baa695786933 /manifests/vserver.pp | |
parent | 8abf2781a7c968d22a5ca5551f7989bbd15a3204 (diff) | |
download | puppet-nodo-51622c10f922671cb8bcb1cda874f64ea932a462.tar.gz puppet-nodo-51622c10f922671cb8bcb1cda874f64ea932a462.tar.bz2 |
Monkeysphere host really needs to be a resource and not a class
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r-- | manifests/vserver.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp index 9feb030..b68d501 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -20,8 +20,8 @@ class nodo::vserver inherits nodo { "direct": { # Apply munin and monkeysphere configuration for # for directly hosted nodes. - Munin_node <<| title == $hostname |>> - Monkeysphere_host <<| title == $hostname |>> + Munin_node <<| title == $::hostname |>> + Monkeysphere_host <<| title == $::hostname |>> # Set proxy configuration $nodo_https_proxy = 'yes' @@ -29,8 +29,8 @@ class nodo::vserver inherits nodo { "third-party": { # Apply munin and monkeysphere configuration for # nodes hosted by third-parties. - munin_node { "$hostname": } - monkeysphere_host { "$hostname": + munin_node { "${::hostname}": } + monkeysphere_host { "${::hostname}": port => $node_ssh_port, } |