Skip to content

Instantly share code, notes, and snippets.

@skreuzer
Created January 31, 2015 15:42
Show Gist options
  • Select an option

  • Save skreuzer/379299c2cc37567b5321 to your computer and use it in GitHub Desktop.

Select an option

Save skreuzer/379299c2cc37567b5321 to your computer and use it in GitHub Desktop.
bundle agent copy_release
{
vars:
"file" slist => { "foo.py", "bar.py", "baz.py" };
"src_path" string => execresult("$(paths.path[realpath]) /opt", "noshell")
files:
"/usr/local/bin/$(file)"
copy_from => local_dcp("$(src_path)/$(file)");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment