Created
November 7, 2013 20:49
-
-
Save stefhen/7361631 to your computer and use it in GitHub Desktop.
ROS util example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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