diff options
author | varac <varacanero@zeromail.org> | 2014-08-26 10:42:44 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-08-26 10:42:44 +0200 |
commit | d873d4d8f9d80482602e1196e9cffab9d0545fa7 (patch) | |
tree | a7b5507861f39ce9aaa1f7767031a596dd27d87c /puppet/modules/tapicero | |
parent | 51906e599a400255d528aa2182a1e7e86bb4b230 (diff) |
Fix Tapicero not starting after first deploy (#6004)
Added a dependency on the couchdb "tapicero" user to get
created before starting the tapicero daemon.
Diffstat (limited to 'puppet/modules/tapicero')
-rw-r--r-- | puppet/modules/tapicero/manifests/init.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/puppet/modules/tapicero/manifests/init.pp b/puppet/modules/tapicero/manifests/init.pp index 35f6b06b..f2e723f5 100644 --- a/puppet/modules/tapicero/manifests/init.pp +++ b/puppet/modules/tapicero/manifests/init.pp @@ -124,7 +124,9 @@ class tapicero { enable => true, hasstatus => false, hasrestart => true, - require => [ File['/etc/init.d/tapicero'], File['/var/run/tapicero'] ]; + require => [ File['/etc/init.d/tapicero'], + File['/var/run/tapicero'], + Couchdb::Add_user[$::site_couchdb::couchdb_tapicero_user] ]; } } |