From: Silvio Rhatto Date: Thu, 31 Jan 2013 22:20:55 +0000 (-0200) Subject: Introducing nodo::host::use_vserver X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a57643c7831a100cf1e2a4bc9b2fbd2699fb10ce;p=puppet-nodo.git Introducing nodo::host::use_vserver --- 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", + } } }