summaryrefslogtreecommitdiff
path: root/puppet/modules/rubygems/manifests/bcrypt.pp
blob: 4c6464771243d1f834fd07ff3bba6668d6c14a15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class rubygems::bcrypt {
  if ($::osfamily == 'RedHat') and
    versioncmp($::operatingsystemrelease,'6') > 0 {
    package{'rubygem-bcrypt':
      ensure => present,
    }
  } else {
    require rubygems
    package{'bcrypt-ruby':
      ensure => present,
      provider => gem,
    }
  }
}