summaryrefslogtreecommitdiff
path: root/puppet/modules/rubygems/manifests/maildir.pp
blob: 8773f37a79c90117a291eb919aaa6b64aa6994ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
    }
  }
}