Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created December 14, 2012 00:08
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 jtimberman/4281314 to your computer and use it in GitHub Desktop.
Save jtimberman/4281314 to your computer and use it in GitHub Desktop.
$ 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