From fe253859563d9479e4281826b97842be15ff9993 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 20 May 2010 21:06:00 -0300 Subject: Adding nodo::desktop::minimal --- manifests/desktop.pp | 9 +++++++++ manifests/nodo.pp | 8 +++++--- 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" -- cgit v1.2.3