diff options
author | varac <varacanero@zeromail.org> | 2012-11-01 09:15:54 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-11-01 09:15:54 +0100 |
commit | ffc0bba5390b30093b0cfdf9f927ba1f7db66ee8 (patch) | |
tree | 61109a5e2a6f6994910da89e4574b766fa9001c8 /puppet | |
parent | 139fe307ebc544e95f7c84bc921bbed3d9f20857 (diff) |
another try of class relationships
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_couchdb/manifests/configure.pp | 4 | ||||
-rw-r--r-- | puppet/modules/site_couchdb/manifests/init.pp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/puppet/modules/site_couchdb/manifests/configure.pp b/puppet/modules/site_couchdb/manifests/configure.pp index 969e2e4d..3ab87e1e 100644 --- a/puppet/modules/site_couchdb/manifests/configure.pp +++ b/puppet/modules/site_couchdb/manifests/configure.pp @@ -1,7 +1,7 @@ class site_couchdb::configure { - #Class[site_couchdb::package] -> Class[site_couchdb::configure] + Class[site_couchdb::package] -> Class[couchdb] class { 'couchdb': + require => Class['site_couchdb::package'] #bind => '0.0.0.0' } - } diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp index 57b1d038..e27bdd59 100644 --- a/puppet/modules/site_couchdb/manifests/init.pp +++ b/puppet/modules/site_couchdb/manifests/init.pp @@ -1,10 +1,10 @@ class site_couchdb { # install couchdb package first, then configure it - - Class[site_couchdb::package] -> Class[site_couchdb::configure] + Class['site_couchdb::package'] -> Class['site_couchdb::configure'] include site_couchdb::package include site_couchdb::configure + include couchdb::deploy_config } |