summaryrefslogtreecommitdiff
path: root/puppet/modules/couchdb/manifests/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/couchdb/manifests/debian.pp')
-rw-r--r--puppet/modules/couchdb/manifests/debian.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/couchdb/manifests/debian.pp b/puppet/modules/couchdb/manifests/debian.pp
new file mode 100644
index 00000000..b83b227a
--- /dev/null
+++ b/puppet/modules/couchdb/manifests/debian.pp
@@ -0,0 +1,15 @@
+# installs initscript and dependent packages on debian
+class couchdb::debian inherits couchdb::base {
+
+ ensure_packages('libjs-jquery')
+
+ file { '/etc/init.d/couchdb':
+ source => [
+ 'puppet:///modules/site_couchdb/Debian/couchdb',
+ 'puppet:///modules/couchdb/Debian/couchdb' ],
+ mode => '0755',
+ owner => 'root',
+ group => 'root',
+ require => Package['couchdb']
+ }
+}