summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2016-01-08 13:42:38 +0100
committermh <mh@immerda.ch>2016-01-08 13:42:38 +0100
commitc596f10baf5da5e025fdf3eea54a425c27f79b11 (patch)
tree5bdf1409c9f477970c223dce1d655f021b9cafa3
parentff58f198b3fb58e8ae6e7fe058c8fa18aa11f937 (diff)
no need to install rubygems anymore
-rw-r--r--manifests/init.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 678bd54..0585994 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -14,7 +14,10 @@
#
class rubygems {
- package{'rubygems':
- ensure => installed,
+ # from debian 8 on this is not anymore needed
+ if ($::operatingsystem != 'Debian') or (versioncmp($::operatingsystemmajrelease,'8') < 0) {
+ package{'rubygems':
+ ensure => installed,
+ }
}
}