the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
This also adds type definitions for all parameters, to avoid errors
in template rendering or rendering invalid content.
Change-Id: I5eedfe2ec4a192234226740ec410dd31cf941e85
The default should match processor counts instead of os_worker fact.
This module does not depend on openstacklib so we should not use
the fact provided that module.
Closes-Bug: #2023371
Change-Id: I534f29d75046a854a54b4c07cfb5757bfd39dd92
This reverts commit 9a7a6c3f43.
Reason for revert:
Stdlib::Absolutepath has never been deprecated, but
Stdlib::Compat::Absolute_path was deprecated. The latest stdlib
removed all Stdlib::Compat::* types[1].
[1] fcbd4267fd
Change-Id: I657c74d476b34fbb3e15229f48440dbbdbde8402
Usage of truthy strings were deprecated a while ago[1]. Let's enforce
boolean values to simplify the logic.
[1] 171b6d172d
Change-Id: Ic907c99d6a956a9a168200cf61a4b211fe582d07
Currently qdr::listener_port is set to a string by default and triggers
the following warning.
validate_legacy(validate_re) expects an Integer value, got String at
["/etc/puppetlabs/code/modules/qdr/manifests/init.pp", 198]:
This change fixes type validation logic about the parameter to get rid
of the warning.
Change-Id: I78203816bd91c8efe0673045fdc6956c83044053
Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.
Change-Id: Id0f6bf8e1e1f622c957477a8895ac99584176f33
This change fixes the following lint errors discovered since we removed
pin of lint packages.
manifests/init.pp:218:WARNING: absolute class name reference
manifests/init.pp:219:WARNING: absolute class name reference
manifests/init.pp:220:WARNING: absolute class name reference
Change-Id: I13332d9c2a91d2b10494ec9f77652cc564d454b2
This reverts commit df921edc57.
and updated to version 1.5.0 as that is available from packaging
side.
Change-Id: I6141f7b69b1ec08ca13ca01c036a8e5c7aca87bb
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: Ie05d6e6222224470450637f16691f933085e6520
Changes were done to include multiple ssl_profiles
which can be used to by both listeners and connectors.
Also autolink configuration is added to enable
external broker connection.
Change-Id: Ib3090c01bfdcb60168dd1c6db23c520a103c051e
This reverts commit b87634ca57.
The above commit contains overlapping of variables,
we need to keep puppet modules as general as possible and add
the customisations at the template level.
Closes-Bug: #1804254
Change-Id: I0e87eb9a086dcf187e2b77f8a129a63f2e6ddd6e
Update to add connector configuration information
so that data can be dispatched to an intermediate broker
queue.
Change-Id: I214c984b19b47c6447c8912d8d736af179b1f34f
These updates were found to be necessary for puppet-opentstack-integration
scenario to run succesfully.
This patch:
*pass block to ensurable for qdr types
*add routerd log directory
Change-Id: If06b558ac6c1b2a926b10de389e6af23cec84d28
2017-07-20 14:46:22.341413 | manifests/init.pp:204:WARNING: arrow should be on the right operand's line
2017-07-20 14:46:22.341547 | manifests/init.pp:205:WARNING: arrow should be on the right operand's line
Change-Id: I26779b1c3d6095552bcbc130b363a4013b7b568f
This patch:
* re-factors install
* configures params based on osfamily
* Adds tests to ensure config updates
* Updates template for change in conf schema
* Adds ssl profile to the configuration
Change-Id: I92f466b46da11d8e087e6d6d9532326fce33e47c
This change updates the puppet-qdr module to leverage the
puppet-openstack_spec_helper for unit testing and common dependency
management for spec tests. Additionally this change fixes the lint
issues with the module.
Change-Id: I62d6b60712e237a8b4daf654879a4f1912fb9ec6