From 76fdbcd28141584a2cc6144227483f5e025e4209 Mon Sep 17 00:00:00 2001 From: Brian Staszewski Date: Wed, 16 Jan 2013 16:13:04 -0800 Subject: [PATCH] Update apt repos to be inline with doc changes See http://ceph.com/docs/master/install/debian/ --- attributes/apt.rb | 2 ++ recipes/apt.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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" -- 2.47.3