aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 18:19:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 18:19:14 -0300
commit2286875dd01b50090fe3a18bfafa01a232bf50a5 (patch)
tree32ea7edc381b7eceb7c9be276aa0be1786fa8bdb /manifests
parentdb5b7f61379924ae5784b0829851c79a9809ff7f (diff)
downloadpuppet-nodo-2286875dd01b50090fe3a18bfafa01a232bf50a5.tar.gz
puppet-nodo-2286875dd01b50090fe3a18bfafa01a232bf50a5.tar.bz2
Getting rid of a defined() call
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 2648bdb..c1173a5 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -14,8 +14,8 @@ class nodo::base {
class { 'nodo::subsystem::hosts': }
# Include if not defined by nodo::master
- if !defined(Class['puppet::daemon']) {
- class { 'puppet::daemon': }
+ class { 'puppet::daemon':
+ master => hiera('nodo::role::master::main', false)
}
#