aboutsummaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 62dc37d..b8a16e9 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -35,7 +35,11 @@ class nodo::base(
# Puppet
case $puppet_standalone {
true: { include puppet::standalone }
- false: { include puppet::daemon }
+ false: {
+ class { 'puppet::daemon':
+ master => hiera('nodo::role::master::main', false),
+ }
+ }
}
# Does not work well inside vservers