Skip to content

Instantly share code, notes, and snippets.

@stefhen
Created November 7, 2013 20:49
Show Gist options
  • Save stefhen/7361631 to your computer and use it in GitHub Desktop.
Save stefhen/7361631 to your computer and use it in GitHub Desktop.
ROS util example
bash "download_rpm" do
code <<-EOM
export STORAGE_ACCOUNT_ID="#{node[:smartfox][:storage_account_id]}"
export STORAGE_ACCOUNT_SECRET="#{node[:smartfox][:storage_account_secret]}"
/opt/rightscale/sandbox/bin/ros_util get -c "#{node[:smartfox][:bucket]}" -s "#{node[:smartfox][:file]}" -C "#{node[:smartfox][:provider]}" -d "#{Chef::Config[:file_cache_path]}/#{node[:smartfox][:file].split('/').last}"
EOM
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment