Remove logic for Fedora and old CentOS
This change removes logic for Fedora and old CentOS(CentOS 7) because these are no longer supported. Also, ssl is re-enabled in scenario 002 job in CentOS. Change-Id: Ibf5da4a538cdd52604d3c5daaf42bf8ae4f4fb9b
This commit is contained in:
parent
d58599e686
commit
b9428f03de
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
# Keystone only puppet deployment
|
# Keystone only puppet deployment
|
||||||
|
|
||||||
if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') {
|
if $::os['name'] == 'Ubuntu' {
|
||||||
$ssl = false
|
$ssl = false
|
||||||
} else {
|
} else {
|
||||||
$ssl = true
|
$ssl = true
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') {
|
if $::os['name'] == 'Ubuntu' {
|
||||||
$ssl = false
|
$ssl = false
|
||||||
} else {
|
} else {
|
||||||
$ssl = true
|
$ssl = true
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') or
|
if $::os['name'] == 'Ubuntu' {
|
||||||
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
|
||||||
# FIXME(ykarel) Disable SSL until services are ready to work with SSL + Python3
|
|
||||||
$ssl = false
|
$ssl = false
|
||||||
} else {
|
} else {
|
||||||
$ssl = true
|
$ssl = true
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') {
|
if $::os['name'] == 'Ubuntu' {
|
||||||
$ssl = false
|
$ssl = false
|
||||||
} else {
|
} else {
|
||||||
$ssl = true
|
$ssl = true
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') {
|
if $::os['name'] == 'Ubuntu' {
|
||||||
$ssl = false
|
$ssl = false
|
||||||
} else {
|
} else {
|
||||||
$ssl = true
|
$ssl = true
|
||||||
|
@ -102,26 +102,12 @@ class openstack_integration::repos {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# PowerTools is required on CentOS8 since Ussuri.
|
# PowerTools is required on CentOS8 since Ussuri.
|
||||||
if $::operatingsystem == 'CentOS' {
|
|
||||||
exec { 'enable-powertools':
|
exec { 'enable-powertools':
|
||||||
command => "dnf config-manager --enable ${powertools_repo}",
|
command => "dnf config-manager --enable ${powertools_repo}",
|
||||||
path => '/usr/bin/',
|
path => '/usr/bin/',
|
||||||
unless => "test 0 -ne $(dnf repolist --enabled ${powertools_repo} | wc -l)"
|
unless => "test 0 -ne $(dnf repolist --enabled ${powertools_repo} | wc -l)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove Fedora Base repos as stable-base repo is configured which includes
|
|
||||||
# all required packages
|
|
||||||
if $::operatingsystem == 'Fedora' {
|
|
||||||
tidy { 'delete-fedora-base-repos':
|
|
||||||
path => '/etc/yum.repos.d',
|
|
||||||
recurse => true,
|
|
||||||
matches => [ 'fedora*.repo' ],
|
|
||||||
rmdirs => false,
|
|
||||||
require => Class['openstack_extras::repo::redhat::redhat'],
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily (${::osfamily})")
|
fail("Unsupported osfamily (${::osfamily})")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user