aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-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"