Skip to content

Instantly share code, notes, and snippets.

@bakins
Created April 27, 2011 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bakins/945383 to your computer and use it in GitHub Desktop.
Save bakins/945383 to your computer and use it in GitHub Desktop.
apt_repository "lua-turner" do
uri "http://#{node[:ubuntu][:turner_repo]}/repos/lua"
distribution node['lsb']['codename']
components ["main"]
key "http://#{node[:ubuntu][:turner_repo]}/repos/lua/turner-lua-repo.key"
action :nothing
end
@bakins
Copy link
Author

bakins commented Apr 27, 2011

remote_file "#{Chef::Config[:file_cache_path]}/turner-lua-repo.key" do
source "http://#{node[:ubuntu][:turner_repo]}/repos/lua/turner-lua-repo.key"
mode "0644"
action :nothing
end.run_action(:create_if_missing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment