aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index df3dd31..ec2df29 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -10,13 +10,18 @@ class nodo::base(
include nodo::subsystem::profile
include nodo::subsystem::screen
include nodo::subsystem::screen::startup
- include nodo::subsystem::apt
include nodo::subsystem::backup
include nodo::subsystem::mail
include nodo::subsystem::sshd
include nodo::subsystem::hostname
include nodo::subsystem::local
+ # Apt module
+ $apt = hiera('nodo::subsystem::apt', true)
+ if $apt == true {
+ include nodo::subsystem::apt
+ }
+
# Declare subsystem classes
class { [ 'nodo::subsystem::hosts', 'nodo::subsystem::motd' ]: }