summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-09-18 18:16:27 +0200
committermh <mh@immerda.ch>2015-09-18 18:16:27 +0200
commit505d820e21c46bb578d796a91de1806d22b17549 (patch)
treed3fbcbdc6f1b04ee7092c90ade9f5d6b13fac6da
parentae723cfc50707b79891bc2eac99d10d5b044d53e (diff)
if the provider is not gem we should name the package correctly
-rw-r--r--manifests/master.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/master.pp b/manifests/master.pp
index 8ea324b..ad47914 100644
--- a/manifests/master.pp
+++ b/manifests/master.pp
@@ -10,4 +10,10 @@ class trocla::master (
ensure => present,
provider => $provider,
}
+
+ if $provider != 'gem' {
+ Package['trocla']{
+ name => 'rubygem-trocla'
+ }
+ }
}