The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.
Change-Id: I21ecb74717c27db8f6a885dc7f70362a3d67f77a
This introduces support for the new limit options which were added to
heat during 2024.1 cycle.
Depends-on: https://review.opendev.org/c/openstack/heat/+/906272
Change-Id: I622328a61ea24682dbe65dc4f4b3a90df5c7208f
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.
Depneds-on: https://review.opendev.org/910629
Change-Id: Ia947c684f5f4cc10efad487d7c87e06c73cc1ba2
The heat-manage command by default loads /etc/heat/heat.conf. Removing
the override allows us to use additional paths such as heat.conf.d in
the future.
Change-Id: Id015bab7ad0dff14788bbabfe54ebae128b037b7
This refactors resource dependencies to improve the following points.
- Avoid unnecessary dependencies across services. For example aodh
service does not require cinder db.
- Restart only api service when config files like paste.ini, which
are used only be api service is changed.
Change-Id: Iadb8552abf55228729bf5d31795b1e4bbb8b9929
The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to heatclient
because the package provides some sub-commands.
Also, the heatclient package is required by heat so updating it should
restart the services.
Change-Id: I4e24408d9c377d0b67d87efa07f07913ef997402
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: Ie95b74bf43c2749c738286cc8a175beff5742976
We have not yet implemented global way to validate bool options in
OpenStack. To keep the implementation simple and consistent across
the modules/parameters, this change removes the current strict
validation for now.
Change-Id: Ida223d6d06d3538b8c2f7b430db233782b3ba500
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Iecf1322669c06feed46bbe02eaeee48b929fc000
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.
Change-Id: I1e7ef82de4f41f79ceeb089dc29de3119c6b01f0
This makes sure that the supported value is used for the parameters
which determine the ensure property of a cron resource type.
This also re-implements the validation of age_type parameter using
the native data type.
Change-Id: Ie3d9c4d3dac3484051be3b9418e833454c0fbd2a
These parameters were deprecated in favor of the separate classes for
client options[1].
[1] 0d043d793f
Change-Id: I28b7462f2330409b9dee7debba63ce756a0a74b1
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: Ia67f4aba2c3064f9b0ba93430b9c0f7a14800ced
This removes the workaround to add missing selinux rule. The bug in
openstack-sexlinux[1] was already fixed and we no longer need to
add the rule additionally.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1396553
Change-Id: I979d2c30fb0a0c7f456dff6376bf91ef141e86a2
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: Ib7d19a8d3b634b3f2c88222881b175f74771de00
Currently parameter description of the <module>::wsgi::apache classes
are formatted differently in individual modules, and this is making
the maintenance effort quite difficult.
This change updates the description format following the standard one
we are globally using in our modules to reduce undesired differences
between modules.
Change-Id: Icec870fce75185f2ca902c565dd94c467b9f6638
Add parameters for advanced logging configurations in Apache to
support piped logging and support for syslog (via mod_syslog
available in Apache >= 2.5.0)
Co-Authored-By: Andy Botting <andy@andybotting.com>
Change-Id: Idb3d73309588a7436cd2e067121119c5878eee18
The puppetlabs-apache module is enforcing more strict data type
validation[1].
This change updates the default values to adapt to that change.
[1] f41251e336
Closes-Bug: #1983300
Depends-on: https://review.opendev.org/851652
Change-Id: I2df44be85cb73144ce45b8f5bea2ccba64d0be86
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.
Change-Id: I2c527b5511db04f9daa7f605b565a567599b5431
... instead of left unmanaged. The parameter was deprecated a while ago
but is still valid in Heat.
Change-Id: I13c7c869855c60c9db1ca57772a2c0989b511e94
During the previous cycle, a warning message was added to inform users
of this change.
Now the default value is updated so that SSL is disabled by default.
Change-Id: I6bd11a340b8623b45da7284e52ee505ea6870562
The heat-manage purge_deleted command supports customizing batch size,
number of stacks to delete by a single transaction. This change adds
the new parameter to customize the parameter.
Change-Id: Id980c6f975f22baa305d3cd84378c98b3e9f84f2
This change introduces support for [clients] parameters and
[clients_<service>] parameters, which determine behavior of service
clients used by heat for communication with the OpenStack services.
- Implementation of heat::clients::<service> are generally same.
Only cinder, heat, keystone and nova provides additional parameters.
- The existing parameters in the base heat class are deprecated in
favor of the new classes.
Change-Id: Icdf4f0201dd1e5f93a450473709851977ec20034