By default, puppetlabs-apache module enables Indexes option, which can
lead in data/structure leak.
The following patch disable that option on a global base, since we
shouldn't need such a feature.
Closes-Bug: #1854442
Change-Id: Icba53f4e32237556608f4cb6dcd9da1a71705c19
puppetlabs/rabbitmq [1] is deprecated, and max version is 5.6.0 which can
not be fulfilled by this dependency.
Correct it to puppet-rabbitmq [2] instead which is being actively maintained
and has the right version.
[1]: https://forge.puppet.com/puppetlabs/rabbitmq
[2]: https://forge.puppet.com/puppet/rabbitmq
Change-Id: Ie546efe18f8e3886bbc59ddb3573864f379d929a
Closes-Bug: #1850236
Puppet 5 will only recieve fixes and security
updates to May 2020 [1]. See quote [2].
Since we support Puppet 6 already this is not
an issue. The Ussuri release will be around
the 2020-05-13 date [3] which will be almost
the same time as the Puppet 5 EOL.
With this we let users know that they can use
Puppet 5 in Ussuri but that we stop officially
supporting it in V.
My hope is that we could also make this a hard
requirement in V so that we can start using the
features that are >= 6.0.0 only.
[1] https://puppet.com/misc/puppet-enterprise-lifecycle
[2] "For example, the PE2018.1 LTS uses Puppet Agent 5.5, so the open
source Puppet Agent 5.5 will receive bug fix and security updates until
May 2020."
[3] https://releases.openstack.org/ussuri/index.html
Change-Id: I233ba3db5127d2e9a4c08c767474ac038305d488
This should prevent slow loading on the first request, especially
annoying when this first request is done by a healthcheck launched by an
inflight validation.
This patch is a reaction to the whole issue raised by the new nova
inflight validations[1], followed by some discussions in order to get a
faster application loading.
[1] https://review.opendev.org/#/q/status:merged+project:openstack/tripleo-heat-templates+branch:master+topic:bug/1842687
Related-Bug: #1843555
Change-Id: I27e37e30823c4312d9d7a93f18fe0f930ce70c49
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I3f9e637bf4bab2a3b5023709f2b60f764923ec52
Sem-Ver: feature
python-openstackclient has removed the --os-url option in [1]. This
commit is part of the upcoming 4.0.0 release.
The openstack provider relies on that for Keystone initial configuration,
so we need to fix this or puppet-keystone will be broken.
[1] - https://review.opendev.org/677795
Change-Id: I50830450efe7a13be801a31f4ef0333684c7837b
[1] added "override_locale: false" to the openstack command executions,
to respect the current locale. This had an unintended side effect,
since it changed the values for failonfail and combine to false in
that same execution, as described in [2].
We should ensure that openstack command failures are respected, so
this commit restores that behavior.
[1] - https://review.opendev.org/640997
[2] - https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/execution.rb#L139-L143
Change-Id: I55e587ea5c83338ae989aa56f1f379079eb02e08
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I1115e2eb6d15af3ea69ef561fa6dc57d198922ab
Extend the unit tests of the inet6_prefix() function to
test input including the prefix ('inet6:[2001::01]:80').
Change-Id: I68ead773868bd418f10a480f2b7b7fc08084374e
Utility to handle prefixing IPv6 address with `inet6:`.
This is useful for services relying on python-memcached
which require the inet6:[<ip_address]:<port> format.
Change-Id: Ibd280929f62bae61f34b2984af7710fbd422264b
From Train release we no longer officially support
Puppet 4 as we have notified about earlier.
Deployments should use Puppet 5 or Puppet 6.
Change-Id: I903f238d7967cde2e7357dd21905f267dc289c73
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: Ib9a155e1f2fa14c4f514788437a5933c8f256a27
Sem-Ver: feature
By default puppet reset the locale to "C"[1]. This can cause problem
when openstack command have to deal with non ascii strings.
We use the override_locale parameter of the execute puppet method to
pass down the locale to the openstack command.
Co-Authored-By: Natal Ngétal <hobbestigrou@erakis.eu>
Closes-Bug: #1744075
[1] https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/execution.rb#L349-L357
Change-Id: Ia61308d54be4a72faf47b315989b63dc8f64aa09
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.
The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.
This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].
[1] https://review.openstack.org/#/c/568929/
Change-Id: I70b9cafad10ec5abfc0166feb01c49adbd1f517d
And change the upper constraint to be the latest
8.0.0 release. See all other patches on this topic.
Change-Id: I30f0367c9eeafe7e8b45c348c3df5630f29fa6a2
This allows openstacklib::defaults to be inherited by each component
module avoiding duplicating the logic currently required when setting
this for the various base distrobutions.
Change-Id: I84b767921d151a61429b2c89e6372c4b447f0d7d
They released puppetlabs-mysql 7.0.0 which breaks our modules,
see the periodic Puppetfile patch here [1].
I think this is related to our usage of "mysql_password" in
the modules which we need to revise to use the new puppet
functions that puppetlabs-mysql have changed to.
That would probably require us to bump minimal requirement of
puppetlabs-mysql to 6.x though, so cap this until we have fixed
modules and updated minimal requirement.
[1] https://review.openstack.org/#/c/611996/
Change-Id: I4c89e935b8d074bfd4f389070ed712429d44b30e
Use git.openstack.org instead of github.com since git.openstack.org is
the reference for OpenStack
Change-Id: I6efd64fb1e41513f1146927de8b591b87c339d62