diff options
author | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2011-02-25 11:52:05 +0100 |
---|---|---|
committer | Mathieu Bornoz <mathieu.bornoz@camptocamp.com> | 2011-02-25 12:15:22 +0100 |
commit | 62bbb7ec3b0c44e1ef209ca6931c12c118e16cf0 (patch) | |
tree | 9802c323d73927f57190fd742cd73317455d76bf | |
parent | a374f90b12ffbcd3b8481498416815e5e1cd92f5 (diff) |
couchdb: this module works under Redhat now
-rw-r--r-- | manifests/classes/couchdb-base.pp | 2 | ||||
-rw-r--r-- | manifests/classes/couchdb-debian.pp | 8 | ||||
-rw-r--r-- | manifests/classes/couchdb-redhat.pp | 1 | ||||
-rw-r--r-- | manifests/init.pp | 3 |
4 files changed, 11 insertions, 3 deletions
diff --git a/manifests/classes/couchdb-base.pp b/manifests/classes/couchdb-base.pp index 9713f9b..e79c323 100644 --- a/manifests/classes/couchdb-base.pp +++ b/manifests/classes/couchdb-base.pp @@ -1,6 +1,6 @@ class couchdb::base { - package {["couchdb","libjs-jquery"]: + package {"couchdb": ensure => present, } diff --git a/manifests/classes/couchdb-debian.pp b/manifests/classes/couchdb-debian.pp index 1b5090d..053d17a 100644 --- a/manifests/classes/couchdb-debian.pp +++ b/manifests/classes/couchdb-debian.pp @@ -1 +1,7 @@ -class couchdb::debian inherits couchdb::base {} +class couchdb::debian inherits couchdb::base { + + package {"libjs-jquery": + ensure => present, + } + +} diff --git a/manifests/classes/couchdb-redhat.pp b/manifests/classes/couchdb-redhat.pp new file mode 100644 index 0000000..defa0a9 --- /dev/null +++ b/manifests/classes/couchdb-redhat.pp @@ -0,0 +1 @@ +class couchdb::redhat inherits couchdb::base {} diff --git a/manifests/init.pp b/manifests/init.pp index 5100da0..3c9e0fc 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -7,6 +7,7 @@ class couchdb { lenny : { include couchdb::debian } default: { fail "couchdb not available for ${operatingsystem}/${lsbdistcodename}"} } - } + } + RedHat: { include couchdb::redhat } } } |