Update apt configuration and recipes
The configuration changes aims to be more in-line with ceph-deploy. Changing key and repository for gitbuilder. Signed-off-by: Alexandre Marangone <alexandre.marangone@inktank.com>
This commit is contained in:
parent
76adea6fe2
commit
e97fc7baca
@ -1,3 +1,3 @@
|
|||||||
default['ceph']['branch'] = "release" # Can be testing or autobuild
|
default['ceph']['branch'] = "stable" # Can be stable, testing or dev.
|
||||||
# Major release version to install. Currently bobtail (most recent) or argonaut.
|
# Major release version to install or gitbuilder branch
|
||||||
default['ceph']['version'] = "bobtail"
|
default['ceph']['version'] = "bobtail"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
include_recipe "apt"
|
include_recipe "apt"
|
||||||
|
|
||||||
case node['ceph']['branch']
|
case node['ceph']['branch']
|
||||||
when "release"
|
when "stable"
|
||||||
apt_repository "ceph-release" do
|
apt_repository "ceph-stable" do
|
||||||
repo_name "ceph"
|
repo_name "ceph"
|
||||||
uri "http://www.ceph.com/debian-#{node['ceph']['version']}/"
|
uri "http://www.ceph.com/debian-#{node['ceph']['version']}/"
|
||||||
distribution node['lsb']['codename']
|
distribution node['lsb']['codename']
|
||||||
components ["main"]
|
components ["main"]
|
||||||
key "https://raw.github.com/ceph/ceph/master/keys/release.asc"
|
key "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"
|
||||||
end
|
end
|
||||||
when "testing"
|
when "testing"
|
||||||
apt_repository "ceph-testing" do
|
apt_repository "ceph-testing" do
|
||||||
@ -15,14 +15,14 @@ when "testing"
|
|||||||
uri "http://www.ceph.com/debian-testing/"
|
uri "http://www.ceph.com/debian-testing/"
|
||||||
distribution node['lsb']['codename']
|
distribution node['lsb']['codename']
|
||||||
components ["main"]
|
components ["main"]
|
||||||
key "https://raw.github.com/ceph/ceph/master/keys/release.asc"
|
key "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"
|
||||||
end
|
end
|
||||||
when "autobuild"
|
when "dev"
|
||||||
apt_repository "ceph-autobuild" do
|
apt_repository "ceph-gitbuilder" do
|
||||||
repo_name "ceph"
|
repo_name "ceph"
|
||||||
uri "http://gitbuilder.ceph.com/ceph-deb-#{node['lsb']['codename']}-x86_64-basic/ref/autobuild"
|
uri "http://gitbuilder.ceph.com/ceph-deb-#{node['lsb']['codename']}-x86_64-basic/ref/#{node['ceph']['version']}"
|
||||||
distribution node['lsb']['codename']
|
distribution node['lsb']['codename']
|
||||||
components ["main"]
|
components ["main"]
|
||||||
key "https://raw.github.com/ceph/ceph/master/keys/autobuild.asc"
|
key "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user