Changed rubygems to install only on CentOS 6 in puppet::server.
This commit is contained in:
parent
d880581e56
commit
c698eb72ef
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,6 @@ class puppet::server::common inherits puppet::client {
|
||||||
}
|
}
|
||||||
|
|
||||||
if $puppet_storeconfigs != "none" {
|
if $puppet_storeconfigs != "none" {
|
||||||
require ruby::rubygems
|
|
||||||
case $operatingsystem {
|
case $operatingsystem {
|
||||||
"centos": {
|
"centos": {
|
||||||
if $operatingsystemrelease =~ /^[1-5]/ {
|
if $operatingsystemrelease =~ /^[1-5]/ {
|
||||||
|
@ -227,6 +226,7 @@ class puppet::server::common inherits puppet::client {
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
require ruby::rubygems
|
||||||
package { "rails":
|
package { "rails":
|
||||||
ensure => "2.3.14",
|
ensure => "2.3.14",
|
||||||
provider => "gem",
|
provider => "gem",
|
||||||
|
|
Loading…
Add table
Reference in a new issue