diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-07 21:52:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-07 21:52:48 -0300 |
commit | 4cd99a3ed806b6bc8904a2029197b1f68dbd3d3a (patch) | |
tree | 2b71642148a78dc8c124015b6fed6d09b454d0b4 /manifests | |
parent | 3c41c630e12d91187b11c8facee3032691cf3ee5 (diff) | |
download | puppet-nodo-4cd99a3ed806b6bc8904a2029197b1f68dbd3d3a.tar.gz puppet-nodo-4cd99a3ed806b6bc8904a2029197b1f68dbd3d3a.tar.bz2 |
Introducing $use_nagios
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/personal.pp | 8 | ||||
-rw-r--r-- | manifests/physical.pp | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/manifests/personal.pp b/manifests/personal.pp index 2871b20..0085549 100644 --- a/manifests/personal.pp +++ b/manifests/personal.pp @@ -1,5 +1,11 @@ # personal computer -class nodo::personal inherits nodo::physical { +class nodo::personal { + + case $use_nagios { + '': { $use_nagios = false } + } + + include nodo::physical include utils::personal include pam include xorg diff --git a/manifests/physical.pp b/manifests/physical.pp index 4b16d4e..38b2a13 100644 --- a/manifests/physical.pp +++ b/manifests/physical.pp @@ -9,7 +9,10 @@ class nodo::physical inherits nodo { include ups include utils::physical include smartmontools - include nagios::target + + if $use_nagios != false { + include nagios::target + } # Time configuration case $ntpdate { |