diff --git a/recipes/cinder-common.rb b/recipes/cinder-common.rb index 8da3afd..15170db 100644 --- a/recipes/cinder-common.rb +++ b/recipes/cinder-common.rb @@ -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