diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 16:35:53 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 16:35:53 -0200 |
commit | 345d45b406010c59ec8cfae99f177fbe9df10a78 (patch) | |
tree | 365982e13c1a7de45ae015f4d18b112189b39ea2 /manifests/personal.pp | |
parent | eed6dead26492eaae8b13f66593406cd5a168285 (diff) | |
download | puppet-nodo-345d45b406010c59ec8cfae99f177fbe9df10a78.tar.gz puppet-nodo-345d45b406010c59ec8cfae99f177fbe9df10a78.tar.bz2 |
Adding monitor class to wrap around nagios
Diffstat (limited to 'manifests/personal.pp')
-rw-r--r-- | manifests/personal.pp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/manifests/personal.pp b/manifests/personal.pp index 721836b..1626f0c 100644 --- a/manifests/personal.pp +++ b/manifests/personal.pp @@ -1,10 +1,5 @@ # personal computer class nodo::personal { - - case $use_nagios { - '': { $use_nagios = false } - } - include nodo::physical include utils::personal include pam @@ -14,6 +9,12 @@ class nodo::personal { include gdm } + # Monitoring + class { 'monitor': + type => 'personal', + use_nagios => extlookup('personal_use_nagios', 'false'), + } + # Currently tor management just works for debian case $operatingsystem { debian: { |