From a57643c7831a100cf1e2a4bc9b2fbd2699fb10ce Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 Jan 2013 20:20:55 -0200 Subject: Introducing nodo::host::use_vserver --- manifests/host.pp | 8 ++++++-- 1 file 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", + } } } -- cgit v1.2.3