Add Luminous support for CentOS
Change-Id: Ic4d4219892d13d7a9c1b06c1fc19d512a3996032
This commit is contained in:
parent
c61c01840f
commit
710364b405
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
######## Ceph
|
######## Ceph
|
||||||
ceph::profile::params::release: 'jewel'
|
ceph::profile::params::release: 'luminous'
|
||||||
|
|
||||||
######## Ceph.conf
|
######## Ceph.conf
|
||||||
ceph::profile::params::fsid: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
ceph::profile::params::fsid: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
# For OSD nodes it is recommended that you raise pid_max above the
|
# For OSD nodes it is recommended that you raise pid_max above the
|
||||||
# default value because you may hit the system max during
|
# default value because you may hit the system max during
|
||||||
# recovery. The recommended value is the absolute max for pid_max: 4194303
|
# recovery. The recommended value is the absolute max for pid_max: 4194303
|
||||||
# http://docs.ceph.com/docs/jewel/rados/troubleshooting/troubleshooting-osd/
|
# http://docs.ceph.com/docs/luminous/rados/troubleshooting/troubleshooting-osd/
|
||||||
#
|
#
|
||||||
class ceph::osds(
|
class ceph::osds(
|
||||||
$args = {},
|
$args = {},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
# Optional. Defaults to False
|
# Optional. Defaults to False
|
||||||
#
|
#
|
||||||
# [*release*] The name of the Ceph release to install
|
# [*release*] The name of the Ceph release to install
|
||||||
# Optional. Default to 'jewel'.
|
# Optional. Default to 'luminous'.
|
||||||
#
|
#
|
||||||
|
|
||||||
class ceph::params (
|
class ceph::params (
|
||||||
@ -45,7 +45,7 @@ class ceph::params (
|
|||||||
$packages = ['ceph'], # just provide the minimum per default
|
$packages = ['ceph'], # just provide the minimum per default
|
||||||
$rgw_socket_path = '/tmp/radosgw.sock',
|
$rgw_socket_path = '/tmp/radosgw.sock',
|
||||||
$enable_sig = false,
|
$enable_sig = false,
|
||||||
$release = 'jewel',
|
$release = 'luminous',
|
||||||
) {
|
) {
|
||||||
$pkg_mds = 'ceph-mds'
|
$pkg_mds = 'ceph-mds'
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
# For OSD nodes it is recommended that you raise pid_max above the
|
# For OSD nodes it is recommended that you raise pid_max above the
|
||||||
# default value because you may hit the system max during
|
# default value because you may hit the system max during
|
||||||
# recovery. The recommended value is the absolute max for pid_max: 4194303
|
# recovery. The recommended value is the absolute max for pid_max: 4194303
|
||||||
# http://docs.ceph.com/docs/jewel/rados/troubleshooting/troubleshooting-osd/
|
# http://docs.ceph.com/docs/luminous/rados/troubleshooting/troubleshooting-osd/
|
||||||
#
|
#
|
||||||
# [*rgw_keystone_version*] The api version for keystone.
|
# [*rgw_keystone_version*] The api version for keystone.
|
||||||
# Possible values 'v2.0', 'v3'
|
# Possible values 'v2.0', 'v3'
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
# Optional. Defaults to 'present'.
|
# Optional. Defaults to 'present'.
|
||||||
#
|
#
|
||||||
# [*release*] The name of the Ceph release to install
|
# [*release*] The name of the Ceph release to install
|
||||||
# Optional. Default to 'jewel' in ceph::params.
|
# Optional. Default to 'luminous' in ceph::params.
|
||||||
#
|
#
|
||||||
# [*fastcgi*] Install Ceph fastcgi apache module for Ceph
|
# [*fastcgi*] Install Ceph fastcgi apache module for Ceph
|
||||||
# Optional. Defaults to 'false'
|
# Optional. Defaults to 'false'
|
||||||
@ -129,15 +129,15 @@ not on ${::operatingsystem}, which can lead to packaging issues.")
|
|||||||
} else {
|
} else {
|
||||||
$ceph_mirror_real = "https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-${release}/"
|
$ceph_mirror_real = "https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-${release}/"
|
||||||
}
|
}
|
||||||
yumrepo { 'ceph-jewel-sig':
|
yumrepo { 'ceph-luminous-sig':
|
||||||
enabled => '1',
|
enabled => '1',
|
||||||
baseurl => $ceph_mirror_real,
|
baseurl => $ceph_mirror_real,
|
||||||
descr => 'Ceph Jewel SIG',
|
descr => 'Ceph Luminous SIG',
|
||||||
mirrorlist => 'absent',
|
mirrorlist => 'absent',
|
||||||
gpgcheck => '0',
|
gpgcheck => '0',
|
||||||
}
|
}
|
||||||
# Make sure we install the repo before any Package resource
|
# Make sure we install the repo before any Package resource
|
||||||
Yumrepo['ceph-jewel-sig'] -> Package<| tag == 'ceph' |>
|
Yumrepo['ceph-luminous-sig'] -> Package<| tag == 'ceph' |>
|
||||||
} else {
|
} else {
|
||||||
# If you want to deploy Ceph using packages provided by ceph.com repositories.
|
# If you want to deploy Ceph using packages provided by ceph.com repositories.
|
||||||
if ((($::operatingsystem == 'RedHat' or $::operatingsystem == 'CentOS') and (versioncmp($::operatingsystemmajrelease, '7') < 0))
|
if ((($::operatingsystem == 'RedHat' or $::operatingsystem == 'CentOS') and (versioncmp($::operatingsystemmajrelease, '7') < 0))
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Added Luminous support for modules
|
@ -23,9 +23,7 @@ describe 'ceph mon osd' do
|
|||||||
|
|
||||||
it 'should install one monitor and one OSD on /srv/data' do
|
it 'should install one monitor and one OSD on /srv/data' do
|
||||||
pp = <<-EOS
|
pp = <<-EOS
|
||||||
if $::operatingsystem == 'CentOS' {
|
|
||||||
class { 'ceph::repo':
|
class { 'ceph::repo':
|
||||||
release => 'jewel',
|
|
||||||
enable_sig => true,
|
enable_sig => true,
|
||||||
enable_epel => false,
|
enable_epel => false,
|
||||||
ceph_mirror => $ceph_mirror,
|
ceph_mirror => $ceph_mirror,
|
||||||
@ -42,22 +40,14 @@ describe 'ceph mon osd' do
|
|||||||
ceph_config {
|
ceph_config {
|
||||||
'global/osd_journal_size': value => '100';
|
'global/osd_journal_size': value => '100';
|
||||||
}
|
}
|
||||||
|
|
||||||
# NOTE(mnaser): At the moment, the storage SIG packages do not ship 12.X
|
|
||||||
# however UCA is shipping it at the moment. This conditional
|
|
||||||
# should be dropped once we switch CentOS to 12.X
|
|
||||||
if $::osfamily != 'RedHat' {
|
|
||||||
ceph::mgr { 'a':
|
ceph::mgr { 'a':
|
||||||
authentication_type => 'none',
|
authentication_type => 'none',
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ceph::mon { 'a':
|
ceph::mon { 'a':
|
||||||
public_addr => $::ipaddress,
|
public_addr => $::ipaddress,
|
||||||
authentication_type => 'none',
|
authentication_type => 'none',
|
||||||
}
|
}
|
||||||
ceph::osd { '/srv/data': }
|
ceph::osd { '/srv/data': }
|
||||||
}
|
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
@ -67,7 +57,7 @@ describe 'ceph mon osd' do
|
|||||||
shell 'sleep 10' # we need to wait a bit until the OSD is up
|
shell 'sleep 10' # we need to wait a bit until the OSD is up
|
||||||
|
|
||||||
shell 'ceph -s', { :acceptable_exit_codes => [0] } do |r|
|
shell 'ceph -s', { :acceptable_exit_codes => [0] } do |r|
|
||||||
expect(r.stdout).to match(/1 mons at/)
|
expect(r.stdout).to match(/mon: 1 daemons/)
|
||||||
expect(r.stderr).to be_empty
|
expect(r.stderr).to be_empty
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ describe 'ceph::repo' do
|
|||||||
) }
|
) }
|
||||||
|
|
||||||
it { is_expected.to contain_apt__source('ceph').with(
|
it { is_expected.to contain_apt__source('ceph').with(
|
||||||
:location => 'http://download.ceph.com/debian-jewel/',
|
:location => 'http://download.ceph.com/debian-luminous/',
|
||||||
:release => 'jessie',
|
:release => 'jessie',
|
||||||
) }
|
) }
|
||||||
|
|
||||||
@ -50,12 +50,12 @@ describe 'ceph::repo' do
|
|||||||
describe "when overriding ceph mirror" do
|
describe "when overriding ceph mirror" do
|
||||||
let :params do
|
let :params do
|
||||||
{
|
{
|
||||||
:ceph_mirror => 'http://myserver.com/debian-jewel/'
|
:ceph_mirror => 'http://myserver.com/debian-luminous/'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
it { is_expected.to contain_apt__source('ceph').with(
|
it { is_expected.to contain_apt__source('ceph').with(
|
||||||
:location => 'http://myserver.com/debian-jewel/',
|
:location => 'http://myserver.com/debian-luminous/',
|
||||||
:release => 'jessie',
|
:release => 'jessie',
|
||||||
) }
|
) }
|
||||||
end
|
end
|
||||||
@ -96,7 +96,7 @@ describe 'ceph::repo' do
|
|||||||
) }
|
) }
|
||||||
|
|
||||||
it { is_expected.to contain_apt__source('ceph').with(
|
it { is_expected.to contain_apt__source('ceph').with(
|
||||||
:location => 'http://download.ceph.com/debian-jewel/',
|
:location => 'http://download.ceph.com/debian-luminous/',
|
||||||
:release => 'trusty',
|
:release => 'trusty',
|
||||||
) }
|
) }
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ describe 'ceph::repo' do
|
|||||||
) }
|
) }
|
||||||
|
|
||||||
it { is_expected.to contain_apt__source('ceph').with(
|
it { is_expected.to contain_apt__source('ceph').with(
|
||||||
:location => 'http://download.ceph.com/debian-jewel/',
|
:location => 'http://download.ceph.com/debian-luminous/',
|
||||||
:release => 'trusty',
|
:release => 'trusty',
|
||||||
) }
|
) }
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_apt__source('ceph').with(
|
it { is_expected.to contain_apt__source('ceph').with(
|
||||||
:ensure => 'absent',
|
:ensure => 'absent',
|
||||||
:location => 'http://download.ceph.com/debian-jewel/',
|
:location => 'http://download.ceph.com/debian-luminous/',
|
||||||
:release => 'trusty',
|
:release => 'trusty',
|
||||||
) }
|
) }
|
||||||
|
|
||||||
@ -194,9 +194,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -206,8 +206,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -297,9 +297,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -312,8 +312,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -348,9 +348,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '0',
|
:enabled => '0',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -360,8 +360,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '0',
|
:enabled => '0',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -404,9 +404,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -416,8 +416,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -466,9 +466,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -478,8 +478,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -547,8 +547,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to_not contain_yumrepo('ext-epel-7') }
|
it { is_expected.to_not contain_yumrepo('ext-epel-7') }
|
||||||
it { is_expected.to_not contain_yumrepo('ext-ceph') }
|
it { is_expected.to_not contain_yumrepo('ext-ceph') }
|
||||||
it { is_expected.to_not contain_yumrepo('ext-ceph-noarch') }
|
it { is_expected.to_not contain_yumrepo('ext-ceph-noarch') }
|
||||||
it { is_expected.to contain_yumrepo('ceph-jewel-sig').with(
|
it { is_expected.to contain_yumrepo('ceph-luminous-sig').with(
|
||||||
:baseurl => 'https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-jewel/',
|
:baseurl => 'https://buildlogs.centos.org/centos/7/storage/x86_64/ceph-luminous/',
|
||||||
) }
|
) }
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -556,7 +556,7 @@ describe 'ceph::repo' do
|
|||||||
let :params do
|
let :params do
|
||||||
{
|
{
|
||||||
:enable_sig => true,
|
:enable_sig => true,
|
||||||
:ceph_mirror => 'https://mymirror/jewel/',
|
:ceph_mirror => 'https://mymirror/luminous/',
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -564,8 +564,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to_not contain_yumrepo('ext-epel-7') }
|
it { is_expected.to_not contain_yumrepo('ext-epel-7') }
|
||||||
it { is_expected.to_not contain_yumrepo('ext-ceph') }
|
it { is_expected.to_not contain_yumrepo('ext-ceph') }
|
||||||
it { is_expected.to_not contain_yumrepo('ext-ceph-noarch') }
|
it { is_expected.to_not contain_yumrepo('ext-ceph-noarch') }
|
||||||
it { is_expected.to contain_yumrepo('ceph-jewel-sig').with(
|
it { is_expected.to contain_yumrepo('ceph-luminous-sig').with(
|
||||||
:baseurl => 'https://mymirror/jewel/',
|
:baseurl => 'https://mymirror/luminous/',
|
||||||
) }
|
) }
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -593,9 +593,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '0',
|
:enabled => '0',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -605,8 +605,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '0',
|
:enabled => '0',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -649,9 +649,9 @@ describe 'ceph::repo' do
|
|||||||
|
|
||||||
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
it { is_expected.to contain_yumrepo('ext-ceph').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph jewel',
|
:descr => 'External Ceph luminous',
|
||||||
:name => 'ext-ceph-jewel',
|
:name => 'ext-ceph-luminous',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/$basearch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/$basearch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
@ -661,8 +661,8 @@ describe 'ceph::repo' do
|
|||||||
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
it { is_expected.to contain_yumrepo('ext-ceph-noarch').with(
|
||||||
:enabled => '1',
|
:enabled => '1',
|
||||||
:descr => 'External Ceph noarch',
|
:descr => 'External Ceph noarch',
|
||||||
:name => 'ext-ceph-jewel-noarch',
|
:name => 'ext-ceph-luminous-noarch',
|
||||||
:baseurl => 'http://download.ceph.com/rpm-jewel/el7/noarch',
|
:baseurl => 'http://download.ceph.com/rpm-luminous/el7/noarch',
|
||||||
:gpgcheck => '1',
|
:gpgcheck => '1',
|
||||||
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
:gpgkey => 'https://download.ceph.com/keys/release.asc',
|
||||||
:mirrorlist => 'absent',
|
:mirrorlist => 'absent',
|
||||||
|
2
spec/fixtures/hieradata/common.yaml
vendored
2
spec/fixtures/hieradata/common.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
######## Ceph
|
######## Ceph
|
||||||
ceph::profile::params::release: 'jewel'
|
ceph::profile::params::release: 'luminous'
|
||||||
|
|
||||||
######## Ceph.conf
|
######## Ceph.conf
|
||||||
ceph::profile::params::fsid: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
ceph::profile::params::fsid: '4b5c8c0a-ff60-454b-a1b4-9747aa737d19'
|
||||||
|
Loading…
Reference in New Issue
Block a user