diff options
author | mh <mh@immerda.ch> | 2015-09-18 18:16:27 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-09-18 18:16:27 +0200 |
commit | 505d820e21c46bb578d796a91de1806d22b17549 (patch) | |
tree | d3fbcbdc6f1b04ee7092c90ade9f5d6b13fac6da | |
parent | ae723cfc50707b79891bc2eac99d10d5b044d53e (diff) |
if the provider is not gem we should name the package correctly
-rw-r--r-- | manifests/master.pp | 6 |
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' + } + } } |