Differentiate between Debian and RHEL for Apache
- Apache HTTPD Server is called httpd on RHEL, and apache2 on Debian. This adds that distinction for the cinder-api web service. Change-Id: I457c239f0ff80eb78c49f7a1aae989a8368df80f
This commit is contained in:
parent
a3ba8685a7
commit
e5c43eb60b
|
@ -86,7 +86,12 @@ end
|
|||
cinder_conf_options = merge_config_options 'block-storage'
|
||||
|
||||
service 'cinder-apache2' do
|
||||
service_name 'apache2'
|
||||
case node['platform_family']
|
||||
when 'debian'
|
||||
service_name 'apache2'
|
||||
when 'rhel'
|
||||
service_name 'httpd'
|
||||
end
|
||||
action :nothing
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue