Sha256: ae04f3d9e0525f1b51a9138c52798806133a1b8f8a1240d189268a423e8aca29

Contents?: true

Size: 562 Bytes

Versions: 7

Compression:

Stored size: 562 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

7 entries across 7 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.6.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.5.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.3.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.2.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.1.1 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb
from-scratch-0.1.0 cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb