aboutsummaryrefslogtreecommitdiff
path: root/manifests/personal.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/personal.pp')
-rw-r--r--manifests/personal.pp11
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: {