summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-30 16:42:00 +0100
committervarac <varacanero@zeromail.org>2012-10-30 16:42:00 +0100
commit139fe307ebc544e95f7c84bc921bbed3d9f20857 (patch)
treef22edcc1c342b703a4b1fd384d2f0db7e3354a1a /puppet
parent761e87e8ab93bfab4bd81b25125c1c8fb554c8a5 (diff)
try explicit class relation
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_couchdb/manifests/configure.pp7
-rw-r--r--puppet/modules/site_couchdb/manifests/package.pp13
2 files changed, 20 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/configure.pp b/puppet/modules/site_couchdb/manifests/configure.pp
new file mode 100644
index 00000000..969e2e4d
--- /dev/null
+++ b/puppet/modules/site_couchdb/manifests/configure.pp
@@ -0,0 +1,7 @@
+class site_couchdb::configure {
+ #Class[site_couchdb::package] -> Class[site_couchdb::configure]
+ class { 'couchdb':
+ #bind => '0.0.0.0'
+ }
+
+}
diff --git a/puppet/modules/site_couchdb/manifests/package.pp b/puppet/modules/site_couchdb/manifests/package.pp
new file mode 100644
index 00000000..c091316a
--- /dev/null
+++ b/puppet/modules/site_couchdb/manifests/package.pp
@@ -0,0 +1,13 @@
+class site_couchdb::package {
+
+ # for now, we need to install couchdb from unstable,
+ # because of this bug while installing:
+ # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681549
+ # can be removed when couchdb/1.2.0-2 is integrated into testing
+ apt::sources_list { 'unstable.list':
+ source => [ 'puppet:///modules/site_apt/unstable.list'],
+ }
+ apt::preferences_snippet{
+ 'couchdb': release => 'unstable', priority => 999;
+ }
+}