aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-23 11:34:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-23 11:34:43 -0200
commitc23342930bc7fb121d7d8320257008f6cc37d08c (patch)
tree2f4918f943f5d5ccc646c079d544ae61836114d6
parentb700f6a6ffa273c947e5b2d6ab7a9ba57f8db840 (diff)
downloadpuppet-nodo-c23342930bc7fb121d7d8320257008f6cc37d08c.tar.gz
puppet-nodo-c23342930bc7fb121d7d8320257008f6cc37d08c.tar.bz2
Using class parameters for vserver::host
-rw-r--r--manifests/host.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index c7af23a..626da5a 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -14,8 +14,9 @@ class nodo::host inherits nodo {
class { 'firewall': }
# Vserver configuration
- $vserver_vdirbase = "/var/vservers"
- include vserver::host
+ class { 'vserver::host':
+ $vdirbase => "/var/vservers",
+ }
# Monitoring
if !defined('monitor') {