diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-31 20:20:55 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-31 20:20:55 -0200 |
commit | a57643c7831a100cf1e2a4bc9b2fbd2699fb10ce (patch) | |
tree | d9e90983ab678143c5ecb1711616e6993c1153f2 /manifests | |
parent | d96ffbc4736d1ec3d50a1a888233201b7df5dc9d (diff) | |
download | puppet-nodo-a57643c7831a100cf1e2a4bc9b2fbd2699fb10ce.tar.gz puppet-nodo-a57643c7831a100cf1e2a4bc9b2fbd2699fb10ce.tar.bz2 |
Introducing nodo::host::use_vserver
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 5682aea..aefbb92 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -15,8 +15,12 @@ class nodo::host inherits nodo { # Vserver if $::lsbdistcodename == 'squeeze' { - class { 'vserver::host': - vdirbase => "/var/vservers", + $vserver = hiera('nodo::host::use_vserver', True) + + if $vserver == true { + class { 'vserver::host': + vdirbase => "/var/vservers", + } } } |