Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ apt-cache policy chef
chef:
Installed: 10.14.4-2.ubuntu.11.04
Candidate: 10.16.2-1
Package pin: 10.16.2-1
Version table:
10.16.2-1 700
500 http://apt.opscode.com/ precise-0.10/main amd64 Packages
*** 10.14.4-2.ubuntu.11.04 700
100 /var/lib/dpkg/status
# Apt Repository
apt_repository "opscode" do
uri "http://apt.opscode.com"
components ["main"]
distribution "#{node['lsb']['codename']}-0.10"
key "2940ABA983EF826A"
keyserver "pgpkeys.mit.edu"
action :add
end
# Apt Preferences
apt_preference "chef" do
pin "version 10.16.2-1"
pin_priority "700"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment