aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-08-14 14:10:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-08-14 14:10:30 -0300
commitfd8292297f964234e9487e336f2ac1424117d21c (patch)
tree2804c96478863712a3648c49e390a7698d0514da /manifests
parent9156132d33dfbe43a75144044e417493708b642b (diff)
downloadpuppet-nodo-fd8292297f964234e9487e336f2ac1424117d21c.tar.gz
puppet-nodo-fd8292297f964234e9487e336f2ac1424117d21c.tar.bz2
Passing 'master' parameter to puppet::daemon
Diffstat (limited to 'manifests')
-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