Similar to what is done with os_service_default, but here we have the
possibility to tell puppet to not change the existing value, whatever
this is.
The associated fact for syntactic sugar in the module is
`::os_immutable`.
Partial-Bug: #1763322
Change-Id: Iaea44309db9b1b075425fa15890ba592d8bc9b7e
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I069f2b694b82e0958bb64e69e0abda3c5de4ac4b
As we are using the upper constraints when running the release
notes task using tox, we do not need to set a specific version
and we can rely on whatever is configured in upper constraints.
Change-Id: I17fdf5a85ef9ba246e5d5fce14f517580437dd4b
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
With the move of existing policy.json files into code, the file may no
longer be shipped by packaging. The json augeas lens requires that the
file exist or it fails. This change adds a file resource to ensure the
file exists with a basic json construct prior to managing the contents
with augeas.
Change-Id: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Related-Bug: #1742154
Re-using the classic os_workers fact but changing the minimum from 2 to
4, specific to the fact Heat Engine can be stressed out.
Also cap to 24 workers at maximum.
Change-Id: I31d02bea6dd55d65a7014503398adc4422ce7303
Facter.clear clears all cached values and removes all facts from memory
where Facter.flush just clears the cached values. This should reduce the
time it takes to actually run the unit tests as it all the other facts
we're touching won't be removed from memory.
Also we only need to do it before the tests, not before and after.
Change-Id: I9a24dc9f74cb3b59508b12e63a078068c26c1442
We need Puppet package deployed from bindep so we can
run puppet module build with the new zuul v3 job.
Change-Id: Ib8506e9dcaa684bb859d41063986b1140d273547
Prepare the metadata configuration for the first Queens milestone.
Depends-On: Id68ee1b443a4172d0c1d6d58a04908c52a566623
Change-Id: I3c7ba1649c5e7ab86e5914a0abfa54a643de1483
This allows the setting of the error and access file logs, as well as
the access log format. This was done in a similar fashion as one can
configure these ones in the keystone wsgi manifest.
Change-Id: I5e7d3588b7b3b106813d6d37b55aa812273d04d6
Due to Python's GIL [1], we can't use multiple threads for running
OpenStack services without a performance penalty, since the execution
ends up serialized, which defeats the purpose.
Instead, we should use several processes, since this approach doesn't
have this limitation.
[1] https://wiki.python.org/moin/GlobalInterpreterLock
Change-Id: I09b4dfa0873c5a086d4492a7e2ebb72460e507c9
The RabbitMQ acceptance tests used to be pointing towards the Kilo
repos. This patch addresses it so that it leverages the Puppet
OpenStack integration manifests instead.
Change-Id: I3a647184141f5d66f212ee91d4cf36e8547c7517
Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.
Change-Id: I00d964aacdb80fe08c85c41a0700e92249d0e2f6
After releasing Pike M3, we need to bump the metadata version
information for the next release with a -dev.
Change-Id: Iffef5bd317125045f6028bcc8c1332abde9323e9
2017-07-20 14:41:23.253791 | manifests/db/mysql/host_access.pp:52:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253911 | manifests/db/mysql/host_access.pp:62:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253949 | manifests/policy/base.pp:43:WARNING: arrow should be on the right operand's line
2017-07-20 14:41:23.253987 | manifests/service_validation.pp:94:WARNING: arrow should be on the right operand's line
Change-Id: I4cee893ae8f2e430149e2cd56b2e9d9d592a75d5
When we switched to the collector as part of
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b this included using name ==
'httpd' but the package name is different between RHEL/Ubuntu so it
needs to be title == 'httpd' because the title[0] is fixed to be 'httpd'
[0] https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/package.pp#L32
Change-Id: I9d535ab38afea852559df2b3073bd4b74a2a3947
The latest version of puppet now reports these as catalog failures so
this change removes the unnecessary references and the references
should be updated.
Change-Id: Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b
Closes-Bug: #1702964