diff options
author | Micah <micah@leap.se> | 2016-07-12 16:46:02 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-07-12 16:46:02 -0400 |
commit | 10c80c65126cd84e6010495d30cb921d245f0d33 (patch) | |
tree | 63c45dbde4c8aca9e9ec847aaae87d352e0b0a00 /puppet/modules/rubygems/manifests/maildir.pp | |
parent | b5c3c14ae094bff896d19ee37f967e8fc8c34017 (diff) |
git subrepo clone https://leap.se/git/puppet_rubygems puppet/modules/rubygems
subrepo:
subdir: "puppet/modules/rubygems"
merged: "510a369"
upstream:
origin: "https://leap.se/git/puppet_rubygems"
branch: "master"
commit: "510a369"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "1e79595"
Change-Id: Id2668c747e7d8b0a73415180baee9edece1017db
Diffstat (limited to 'puppet/modules/rubygems/manifests/maildir.pp')
-rw-r--r-- | puppet/modules/rubygems/manifests/maildir.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/rubygems/manifests/maildir.pp b/puppet/modules/rubygems/manifests/maildir.pp new file mode 100644 index 00000000..8773f37a --- /dev/null +++ b/puppet/modules/rubygems/manifests/maildir.pp @@ -0,0 +1,15 @@ +# manage maildir rubygem +class rubygems::maildir { + if ($::osfamily == 'RedHat') and + versioncmp($::operatingsystemrelease,'6') > 0 { + package{'rubygem-maildir': + ensure => present, + } + } else { + require rubygems::devel + package{'maildir': + ensure => present, + provider => gem, + } + } +} |