Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Forked from grampelberg/gist:1121638
Created August 3, 2011 16:54
Show Gist options
  • Save adamhjk/1123129 to your computer and use it in GitHub Desktop.
Save adamhjk/1123129 to your computer and use it in GitHub Desktop.
Provider -----
action :install do
git "/opt/tumult/src" do
repository "git@github.com:pyronicide/foo.git"
revision "#{node["branch"]}"
ssh_wrapper "/opt/glue/bin/deploy_user.sh"
depth 5
action :sync
end
end
Actual recipe ---
provider_mine "foo" do
action :install
notifies :run, "script[say_hi]"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment