Sha256: ccef510f1c7169d9e222c87f71dd9212707b0360227aaf60ff5b06ed8fdc375c

Contents?: true

Size: 566 Bytes

Versions: 7

Compression:

Stored size: 566 Bytes

Contents

#!/usr/bin/env bash

# RVM-aware chef-client 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_client'] %> "$@"

Version data entries

7 entries across 7 versions & 1 rubygems

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