Skip to content

Instantly share code, notes, and snippets.

@cheeseplus
Last active April 27, 2017 16:39
Show Gist options
  • Save cheeseplus/2ce5998bba2da173424794837bc09c76 to your computer and use it in GitHub Desktop.
Save cheeseplus/2ce5998bba2da173424794837bc09c76 to your computer and use it in GitHub Desktop.
APP_HOME = '/usr/local/foo/bar'
%w(file1 file2 file3).each do |f|
cookbook_file "#{APP_HOME}/bin/#{f}" do
source "home/#{APP_HOME}/bin/#{f}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment