Skip to content

Instantly share code, notes, and snippets.

View marbe's full-sized avatar

Marco Betti marbe

View GitHub Profile
Recipe: passenger_apache2::source
* package[httpd-devel] action install (up to date)
* package[libcurl-devel] action install (up to date)
* package[openssl-devel] action install (up to date)
* package[zlib-devel] action install (up to date)
* gem_package[passenger] action install (up to date)
* execute[passenger_module] action run
================================================================================
Error executing action `run` on resource 'execute[passenger_module]'
================================================================================
Recipe: <Dynamically Defined Resource>
* rvm_environment[ruby-2.1.0] action create/root/.chef/local-mode-cache/cache/cookbooks/rvm/libraries/rvm_chef_user_environment.rb:32: warning: class variable access from toplevel
(up to date)
^@
- install version 4.0.14 of package passenger
* rvm_environment[ruby-2.1.0] action nothing (skipped due to action :nothing)
Recipe: passenger_apache2::source
* execute[passenger_module] action run
================================================================================
Recipe: passenger_apache2::source
* package[httpd-devel] action install (up to date)
* package[libcurl-devel] action install (up to date)
* package[openssl-devel] action install (up to date)
* package[zlib-devel] action install (up to date)
* gem_package[passenger] action install (up to date)
* execute[passenger_module] action run
================================================================================
Error executing action `run` on resource 'execute[passenger_module]'
================================================================================
Recipe: rvm::system
* group[rvm] action create (skipped due to only_if)
Recipe: chef_workstation::inst_cd
* application_ruby_rails[cd] action nothing (skipped due to action :nothing)
* application_ruby_passenger_apache2[cd] action nothing (skipped due to action :nothing)
* application[cd] action deploy * application_ruby_rails[cd] action before_compile (up to date)
* application_ruby_passenger_apache2[cd] action before_compile (up to date)
(up to date)
Recipe: apache2::mod_rewrite
* file[/etc/httpd/mods-available/rewrite.load] action create (up to date)
Recipe: <Dynamically Defined Resource>
* rvm_environment[ruby-2.1.0] action create/root/.chef/local-mode-cache/cache/cookbooks/rvm/libraries/rvm_chef_user_environment.rb:32: warning: class variable access from toplevel
(up to date)
^@
- install version 4.0.14 of package passenger
* rvm_environment[ruby-2.1.0] action nothing (skipped due to action :nothing)
Recipe: passenger_apache2::source
* execute[passenger_module] action run
================================================================================
default['inst_cd']['rvm']['default_ruby'] = "ruby-2.1.0"
default['inst_cd']['rvm']['user_default_ruby'] = "ruby-2.1.0"
default['inst_cd']['rvm']['vagrant']['system_chef_solo'] = "/opt/chef/bin/chef-solo"
default['inst_cd']['rvm']['vagrant']['system_chef_client'] = "/opt/chef/bin/chef-client"
default['inst_cd']['rvm']['gem_package']['rvm_string'] = node['inst_cd']['rvm']['default_ruby']
# root_path passed by params seems not to work?
# override['passenger']['root_path'] = '/usr/local/rvm/gems/ruby-2.1.0'
node.override['rvm'] = node.default['inst_cd']['rvm']
include_recipe 'yum-epel'
y = resources("yum_repository[epel]")
y.action(:nothing)
y.run_action(:create)
include_recipe 'rvm::vagrant'
include_recipe 'rvm::system'
include_recipe 'rvm::gem_package'