From: Brian Staszewski Date: Thu, 17 Jan 2013 00:13:04 +0000 (-0800) Subject: Update apt repos to be inline with doc changes X-Git-Tag: v0.2.0~41^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12%2Fhead;p=ceph-cookbooks.git Update apt repos to be inline with doc changes See http://ceph.com/docs/master/install/debian/ --- diff --git a/attributes/apt.rb b/attributes/apt.rb index f28dba9..118e27d 100644 --- a/attributes/apt.rb +++ b/attributes/apt.rb @@ -1 +1,3 @@ default['ceph']['branch'] = "release" # Can be testing or autobuild +# Major release version to install. Currently bobtail (most recent) or argonaut. +default['ceph']['version'] = "bobtail" diff --git a/recipes/apt.rb b/recipes/apt.rb index a83c534..fa8e4e2 100644 --- a/recipes/apt.rb +++ b/recipes/apt.rb @@ -4,7 +4,7 @@ case node['ceph']['branch'] when "release" apt_repository "ceph-release" do repo_name "ceph" - uri "http://www.ceph.com/debian/" + uri "http://www.ceph.com/debian-#{node['ceph']['version']}/" distribution node['lsb']['codename'] components ["main"] key "https://raw.github.com/ceph/ceph/master/keys/release.asc"