... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.
Change-Id: I6fa40acff1989436c5326e94c98c9574644d18b2
This replaces the provider implementation of designate_config type so
that MultiStrOpt, which is used by several options like
- oslo_messaging_notifications/driver
- oslo_policy/policy_dirs
are handled correctly.
Change-Id: Ibba47194e745d37607f20316674e168d342e0f85
This patch is adding the configuration of the number of workers,
threads, and the size of the listen queue in Debian, which uses
uwsgi to run Designate API. Therefore, this patch adds a new
designate_api_uwsgi_config provider as well as a new
designate::wsgi::uwsgi class.
Change-Id: Ie007ebb4f1c861d9ac719b0d2909dbe1eb0fac16
With the creation of the new openstack_config provider, some processing
that was done in designate_config has been centralized in
openstack_config.
Impacted methods are :
* section
* setting
* separator
Also, this commit adds the fact that, when passing a specific string
(ensure_absent_val) the provider will behave as if ensure => absent was
specified. '<SERVICE DEFAULT>' is the default value for
ensure_absent_val.
The use case is the following :
designate_config { 'DEFAULT/foo' : value => 'bar' } # will work as usual
designate_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>' } # will mean absent
That means that all the current :
if $myvar {
designate_config { 'DEFAULT/foo' : value => $myvar }
} else {
designate_config { 'DEFAULT/foo' : ensure => absent }
}
can be removed in favor of :
designate_config { 'DEFAULT/foo' : value => $myvar }
If for any reason '<SERVICE DEFAULT>' turns out to be a valid value for
a specific parameter. One could by pass that doing the following :
designate_config { 'DEFAULT/foo' : value => '<SERVICE DEFAULT>',
ensure_absent_val => 'foo' }
Change-Id: I16873c60bfce5b2f432f034755b7bfa3f1383dc5
Depends-On: I0eeebde3aac2662cc7e69bfad7f8d2481463a218
this path aims to add designate_rootwrap_config
in designate::config.
use designate config resources to manage
custom configurations in rootwrap config files.
Change-Id: Iee8aa66ff6464f387664d2a0571f6e6ad685dc2b
This patch is aim to add designate_api_paste_ini custom type to
manage designate api-paste.ini config.
Change-Id: I08d31c44ad3318f14730142aa1b696441ba7a08f