diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 18:19:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 18:19:14 -0300 |
commit | 2286875dd01b50090fe3a18bfafa01a232bf50a5 (patch) | |
tree | 32ea7edc381b7eceb7c9be276aa0be1786fa8bdb | |
parent | db5b7f61379924ae5784b0829851c79a9809ff7f (diff) | |
download | puppet-nodo-2286875dd01b50090fe3a18bfafa01a232bf50a5.tar.gz puppet-nodo-2286875dd01b50090fe3a18bfafa01a232bf50a5.tar.bz2 |
Getting rid of a defined() call
-rw-r--r-- | manifests/base.pp | 4 |
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) } # |