Skip to content

Instantly share code, notes, and snippets.

@johnbellone
Created April 8, 2015 08:30
Show Gist options
  • Save johnbellone/4ec9322022646810ee16 to your computer and use it in GitHub Desktop.
Save johnbellone/4ec9322022646810ee16 to your computer and use it in GitHub Desktop.
IRC
target_dir = directory "/root/#{dir}"
node['liquibase_file_paths'].each do |filename|
remote_file "#{target_dir.path}/#{File.basename(filename)}" do
source "file:///#{Chef::Config[:file_cache_path]}"
notifies :run, "execute[liquibase migrate]"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment