Sha256: b1d1047c99437a2cd9eaa3269186b4247cca2d46a24a7e4f621b12886a37853b

Contents?: true

Size: 561 Bytes

Versions: 12

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env bash

# RVM-aware chef-solo wrapper
#
# Generated by Chef for <%= node[:fqdn] %>
# Local modifications will be overridden

if [[ -d "<%= node['rvm']['root_path'] %>" ]] ; then
export PATH="/bin:<%= node['rvm']['root_path'] %>:$PATH"
  rvm_path='<%= node['rvm']['root_path'] %>'
  export rvm_path
  unset RUBY_VERSION
  unset GEM_HOME
  unset GEM_PATH
  unset MY_RUBY_HOME
  unset IRBRC
  rvm_ruby_string='system'
  export rvm_ruby_string
  unset rvm_gemset_name
  unset MAGLEV_HOME
fi

exec <%= node['rvm']['vagrant']['system_chef_solo'] %> "$@"

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
rails-up-0.0.1 templates/chef/cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.12 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.11 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.10 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.9 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.8 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.7 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.6 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.5 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.4 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.3 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
flombe-0.1.0.2 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb