Fix httpd dependency

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
This commit is contained in:
Alex Schultz
2017-07-13 14:32:57 -06:00
parent 7ce50f94b8
commit 76de885d5b

View File

@@ -243,7 +243,7 @@ define openstacklib::wsgi::apache (
allow_encoded_slashes => $allow_encoded_slashes,
}
Package<| name == 'httpd' |>
Package<| title == 'httpd' |>
~> File<| title == $wsgi_script_dir |>
~> File<| title == $service_name |>
~> Apache::Vhost<| title == $service_name |>