summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/base.pp2
-rw-r--r--manifests/init.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 6c7bf25..97d9ae6 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -31,7 +31,7 @@ class couchdb::base {
# couchrest gem is required for couch-doc-update script,
# and it needs the ruby-dev package installed to build
- if versioncmp($::operatingsystemrelease, '8') < 0 {
+ if versioncmp($::operatingsystemmajrelease}", '8') < 0 {
$couchrest_version = '1.2'
}
else {
diff --git a/manifests/init.pp b/manifests/init.pp
index 12598ba..9a3146e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -13,9 +13,9 @@ class couchdb (
include ::stdlib
case $::operatingsystem {
- Debian: {
+ 'Debian': {
case $::lsbdistcodename {
- /lenny|squeeze|wheezy|jessie/: {
+ /wheezy|jessie|stretch/: {
include couchdb::debian
if $bigcouch == true {
include couchdb::bigcouch::debian