projects
/
puppet_rubygems.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1af5c
)
from centos 6 on this can be installed that way
author
mh
<mh@immerda.ch>
Fri, 24 Aug 2012 16:32:35 +0000
(18:32 +0200)
committer
mh
<mh@immerda.ch>
Fri, 24 Aug 2012 16:32:35 +0000
(18:32 +0200)
manifests/postgres.pp
patch
|
blob
|
history
diff --git
a/manifests/postgres.pp
b/manifests/postgres.pp
index
bcfc511
..
00f09be
100644
(file)
--- a/
manifests/postgres.pp
+++ b/
manifests/postgres.pp
@@
-1,4
+1,10
@@
class rubygems::postgres {
+ if $operatingsystem == 'CentOS' and $lsbmajdistrelease > 5 {
+ package{'rubygem-pg':
+ ensure => installed,
+ }
+ } else {
require postgres::devel
rubygems::gem{'ruby-pg':}
+ }
}