Fix constraint related to dnspython

The title of the package resource to manage dnspython is not python3-*
but python-*. Also the proxy-server service should be restarted when
the package is updated so that the updated version is loaded.

Change-Id: I3372c38dcbc7312395ddf643862da91b00262ad7
This commit is contained in:
Takashi Kajinami 2024-01-10 15:15:38 +09:00
parent 0e3f254347
commit f77b2c23c9

View File

@ -56,9 +56,7 @@ class swift::proxy::cname_lookup(
include swift::deps
include swift::params
if defined(Service['swift-proxy-server']) {
Package['python3-dnspython'] -> Service['swift-proxy-server']
}
Package['python3-dnspython'] ~> Service<| tag == 'swift-proxy-service' |>
swift_proxy_config {
'filter:cname_lookup/use': value => 'egg:swift#cname_lookup';