diff options
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", + } } } |