projects
/
puppet_rubygems.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
from centos 6 on this can be installed that way
[puppet_rubygems.git]
/
manifests
/
postgres.pp
1
class rubygems::postgres {
2
if $operatingsystem == 'CentOS' and $lsbmajdistrelease > 5 {
3
package{'rubygem-pg':
4
ensure => installed,
5
}
6
} else {
7
require postgres::devel
8
rubygems::gem{'ruby-pg':}
9
}
10
}