Fix CI jobs

The branch for most Puppet modules in the github.com/puppetlabs
namespace has changed from 'master' to 'main'.

Also, the scheduler_default_filters parameter was removed from
class nova::scheduler::filter in puppet-nova by [1].

And set ssl_verify_client parameter to apache::vhost to 'optional',
since using a boolean 'false' is no longer valid [2].

[1] - https://review.opendev.org/c/openstack/puppet-nova/+/787967
[2] - https://github.com/puppetlabs/puppetlabs-apache/blob/main/manifests/vhost.pp#L1769

Change-Id: If98beab4946f0a97f3308db050318000f144ba07
This commit is contained in:
Javier Pena 2021-04-30 11:39:56 +02:00
parent eabad465d8
commit e11676c125
3 changed files with 9 additions and 15 deletions

View File

@ -102,7 +102,7 @@ mod 'vswitch',
mod 'apache',
:git => 'https://github.com/puppetlabs/puppetlabs-apache',
:ref => 'master'
:ref => 'main'
mod 'certmonger',
:git => 'https://github.com/rcritten/puppet-certmonger',
@ -110,15 +110,15 @@ mod 'certmonger',
mod 'concat',
:git => 'https://github.com/puppetlabs/puppetlabs-concat',
:ref => 'master'
:ref => 'main'
mod 'firewall',
:git => 'https://github.com/puppetlabs/puppetlabs-firewall',
:ref => 'master'
:ref => 'main'
mod 'inifile',
:git => 'https://github.com/puppetlabs/puppetlabs-inifile',
:ref => 'master'
:ref => 'main'
mod 'memcached',
:git => 'https://github.com/saz/puppet-memcached',
@ -126,7 +126,7 @@ mod 'memcached',
mod 'mysql',
:git => 'https://github.com/puppetlabs/puppetlabs-mysql',
:ref => 'master'
:ref => 'main'
mod 'nssdb',
:git => 'https://github.com/rcritten/puppet-nssdb',
@ -154,7 +154,7 @@ mod 'ssh',
mod 'stdlib',
:git => 'https://github.com/puppetlabs/puppetlabs-stdlib',
:ref => 'master'
:ref => 'main'
mod 'sysctl',
:git => 'https://github.com/duritong/puppet-sysctl',
@ -166,7 +166,7 @@ mod 'systemd',
mod 'vcsrepo',
:git => 'https://github.com/puppetlabs/puppetlabs-vcsrepo',
:ref => 'master'
:ref => 'main'
mod 'xinetd',
:git => 'https://github.com/puppetlabs/puppetlabs-xinetd',

View File

@ -33,7 +33,7 @@ class packstack::horizon ()
ssl_cert => hiera('CONFIG_HORIZON_SSL_CERT', undef),
ssl_key => hiera('CONFIG_HORIZON_SSL_KEY', undef),
ssl_ca => hiera('CONFIG_HORIZON_SSL_CACERT', undef),
ssl_verify_client => false,
ssl_verify_client => 'optional',
neutron_options => {
'enable_vpn' => hiera('CONFIG_HORIZON_NEUTRON_VPN'),
'enable_lb' => hiera('CONFIG_HORIZON_NEUTRON_LB'),

View File

@ -1,12 +1,6 @@
class packstack::nova::sched ()
{
class {'::nova::scheduler::filter':
scheduler_default_filters => ['AvailabilityZoneFilter',
'ComputeFilter',
'ComputeCapabilitiesFilter', 'ImagePropertiesFilter',
'ServerGroupAntiAffinityFilter',
'ServerGroupAffinityFilter'],
}
include '::nova::scheduler::filter'
class { '::nova::scheduler':
enabled => true,