summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-22 17:48:29 +0100
committervarac <varacanero@zeromail.org>2012-11-22 17:48:29 +0100
commit7b803d54a625e13f52a33e1c7a9264b344474df8 (patch)
treee74bb1bed1a3a9ae2ac1f3edb0e16943a89bc56f /puppet/modules
parent0e01b3d162860ec76d17fb4c10089f6bc832bd92 (diff)
call refresh_apt before installing couchdb, solves https://leap.se/code/issues/994
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index 30ce7f54..10408094 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -16,6 +16,7 @@ class site_couchdb {
$couchdb_ca_daemon_pw = $couchdb_ca_daemon['password']
Class['site_couchdb::package']
+ -> Exec['refresh_apt']
-> Package ['couchdb']
-> File['/etc/init.d/couchdb']
-> File['/etc/couchdb/local.ini']