Skip to content

Instantly share code, notes, and snippets.

@uran1980
Last active December 11, 2015 19:38
Show Gist options
  • Save uran1980/4649491 to your computer and use it in GitHub Desktop.
Save uran1980/4649491 to your computer and use it in GitHub Desktop.
Chef :: Add dotdep repo...
case node['platform']
when 'debian'
apt_repository "dotdeb" do
uri "http://packages.dotdeb.org"
distribution "squeeze"
components ["all"]
key "http://www.dotdeb.org/dotdeb.gpg"
action :add
notifies :run, "execute[apt-get update]", :immediately
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment