blob: 914156b05f97340abce86131bd272c4059126fa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# xml simple lib
class rubygems::xmlsimple {
package{'rubygem-xml-simple':
ensure => present,
}
case $::operatingsystem {
debian,ubuntu: {
Package['rubygem-xml-simple']{
name => 'libxml-simple-ruby'
}
}
}
if $::operatingsystem == 'CentOS' and versioncmp($::operatingsystemrelease, '6') > 0 {
# not yet packaged
Package['rubygem-xml-simple']{
name => 'xml-simple',
provider => gem,
}
}
}
|