Unverified Commit 0617cf01 authored by Dan Webb's avatar Dan Webb
Browse files

Cookstyle

parent b5b57475
...@@ -137,10 +137,10 @@ template "/etc/sysconfig/#{node['apache']['service_name']}" do ...@@ -137,10 +137,10 @@ template "/etc/sysconfig/#{node['apache']['service_name']}" do
group node['apache']['root_group'] group node['apache']['root_group']
mode '0644' mode '0644'
notifies :restart, 'service[apache2]', :delayed notifies :restart, 'service[apache2]', :delayed
variables({ variables(
apache_binary: apache_binary apache_binary: apache_binary
}) )
only_if { platform_family?('rhel', 'amazon', 'fedora', 'suse') } only_if { platform_family?('rhel', 'amazon', 'fedora', 'suse') }
end end
template "#{node['apache']['dir']}/envvars" do template "#{node['apache']['dir']}/envvars" do
...@@ -165,9 +165,9 @@ template 'apache2.conf' do ...@@ -165,9 +165,9 @@ template 'apache2.conf' do
owner 'root' owner 'root'
group node['apache']['root_group'] group node['apache']['root_group']
mode '0644' mode '0644'
variables({ variables(
apache_binary: apache_binary apache_binary: apache_binary
}) )
notifies :reload, 'service[apache2]', :delayed notifies :reload, 'service[apache2]', :delayed
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment