Home > puppet-ruby_enterprise_edition

puppet-ruby_enterprise_edition

Puppet-ruby_enterprise_edition is a project mainly written in ..., it's free.

Puppet Ruby Enterprise Edition Installation Module (from source and rvm)

#

Puppet Ruby Enterprise Edition Installation Module (from source and rvm)

#

Copyright (C) 2010 Davide Guerri ([email protected])

#

This program is free software: you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation, either version 3 of the License, or

(at your option) any later version.

#

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

#

You should have received a copy of the GNU General Public License

along with this program. If not, see http://www.gnu.org/licenses/.

# #

Installing ruby enterprise edition from source

#

Usage:

#

ruby_enterprise::from_source { "ruby-enterprise-1.8.7_2011.03": }

#

OR

#

ruby_enterprise::from_source { "ruby-enterprise-1.8.7_2011.02":

ruby_version => "1.8.7",

ruby_enterprise_revision => "2011.02",

}

#

Supported parameters:

#

* ruby_version

Desired ruby version (Please see http://code.google.com/p/rubyenterpriseedition/downloads/list)

Defaults to "1.8.7"

* ruby_enterprise_revision

Desired ruby enterprise revision (See http://code.google.com/p/rubyenterpriseedition/downloads/list)

Defaults to "2011.03"

* destination_base_directory

Destination directory for ruby enterprise.

Defaults to "/opt"

Please note that the actual destination directory will be:

"${destination_base_directory}/ruby-enterprise-${ruby_version}-${ruby_enterprise_revision}"

# #

Defines:

Exec[ "ruby-enterprise-${ruby_version}-${ruby_enterprise_revision}_install" ]

# #

Installing ruby enterprise edition from rvm

#

Usage:

#

rvm::system_wide { "rvm": } # See the puppet-rvm module

ruby_enterprise::from_rvm { "ruby-enterprise-1.8.7_2011.03": }

#

OR

#

rvm::system_wide { "rvm": } # See the puppet-rvm module

ruby_enterprise::from_rvm { "ruby-enterprise-1.8.7_2011.02":

ruby_version => "1.8.7",

ruby_enterprise_revision => "2011.02",

}

#

Supported parameters:

#

* ruby_version

Desired ruby version (Please see http://code.google.com/p/rubyenterpriseedition/downloads/list)

Defaults to "1.8.7"

* ruby_enterprise_revision

Desired ruby enterprise revision (See http://code.google.com/p/rubyenterpriseedition/downloads/list)

Defaults to "2011.03"

#

Require:

#

Exec[ "rvm_install" ]

Defines:

#

Exec[ "rvm_ruby-enterprise-${ruby_version}-${ruby_enterprise_revision}_install" ]

#

Previous:vjrig