summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-01-26 17:04:36 +0100
committervarac <varacanero@zeromail.org>2016-01-26 17:04:36 +0100
commite704c9fe1c40fea5b10fe3ca2b4f5de825341cc6 (patch)
tree515cb1d39e512973a9eb046e7eef47e495da035d /manifests/init.pp
parent63dac9013922176019566d4e3cb9a5bf79e705c4 (diff)
[bug] Use $operatingsystemrelease instead of $operatingsystemmajrelease
Latter one depends on facter 2.x, wheezy ships 1.6.10 by default.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 0b6198d..bca40b9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,7 +16,7 @@
# manage rubygems basics
class rubygems {
# from debian 8 on this is not anymore needed as it's part of the ruby pkg
- if ($::operatingsystem != 'Debian') or (versioncmp($::operatingsystemmajrelease,'8') < 0) {
+ if ($::operatingsystem != 'Debian') or (versioncmp($::operatingsystemrelease,'8') < 0) {
package{'rubygems':
ensure => installed,
}