Last active
December 11, 2015 19:38
-
-
Save uran1980/4649491 to your computer and use it in GitHub Desktop.
Chef :: Add dotdep repo...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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