aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-20 21:06:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-20 21:06:00 -0300
commitfe253859563d9479e4281826b97842be15ff9993 (patch)
tree2dc3a1c0e410a9b0bf90877d283c6ae5ea9c1bb1
parent99ae56b85ea726eff3d4978097bf850d7a561763 (diff)
downloadpuppet-nodo-fe253859563d9479e4281826b97842be15ff9993.tar.gz
puppet-nodo-fe253859563d9479e4281826b97842be15ff9993.tar.bz2
Adding nodo::desktop::minimal
-rw-r--r--manifests/desktop.pp9
-rw-r--r--manifests/nodo.pp8
2 files changed, 14 insertions, 3 deletions
diff --git a/manifests/desktop.pp b/manifests/desktop.pp
index ddf740f..6ace1bc 100644
--- a/manifests/desktop.pp
+++ b/manifests/desktop.pp
@@ -23,3 +23,12 @@ class nodo::desktop inherits nodo::personal {
}
}
}
+
+class nodo::desktop::minimal {
+ $fstab = false
+ $crypttab = false
+ $xorg = false
+ $pam = false
+ $use_apt = false
+ include nodo::desktop
+}
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 8b2b5e5..e634ce9 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -34,9 +34,11 @@ class nodo {
}
# Apt configuration
- $backports_enabled = true
- $apt_update_method = 'cron'
- include apt
+ if $use_apt != false {
+ $backports_enabled = true
+ $apt_update_method = 'cron'
+ include apt
+ }
# Default SSH configuration
$sshd_password_authentication = "yes"