From ee23e9ab170d63730ed4ef97deaf7b33047121d0 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 11 Mar 2013 21:09:33 +0100 Subject: /etc/couchdb: install bigcouch package first --- manifests/bigcouch.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'manifests') diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp index bfed611..e3cc26e 100644 --- a/manifests/bigcouch.pp +++ b/manifests/bigcouch.pp @@ -14,14 +14,15 @@ class couchdb::bigcouch inherits couchdb::base { } file {'/etc/couchdb': - ensure => link, - target => '/opt/bigcouch/etc' + ensure => link, + target => '/opt/bigcouch/etc', + require => Package['couchdb'] } Package ['couchdb'] { name => 'bigcouch', require => [ Apt::Sources_list ['bigcouch-cloudant.list'], - Apt::Apt_conf ['allow_unauthenticated'], File['/etc/couchdb'], + Apt::Apt_conf ['allow_unauthenticated'], Exec[refresh_apt] ] } -- cgit v1.2.3