Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
apache2
Commits
0617cf01
Unverified
Commit
0617cf01
authored
Jul 30, 2018
by
Dan Webb
Browse files
Cookstyle
parent
b5b57475
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/default.rb
View file @
0617cf01
...
...
@@ -137,10 +137,10 @@ template "/etc/sysconfig/#{node['apache']['service_name']}" do
group
node
[
'apache'
][
'root_group'
]
mode
'0644'
notifies
:restart
,
'service[apache2]'
,
:delayed
variables
(
{
variables
(
apache_binary:
apache_binary
}
)
only_if
{
platform_family?
(
'rhel'
,
'amazon'
,
'fedora'
,
'suse'
)
}
)
only_if
{
platform_family?
(
'rhel'
,
'amazon'
,
'fedora'
,
'suse'
)
}
end
template
"
#{
node
[
'apache'
][
'dir'
]
}
/envvars"
do
...
...
@@ -165,9 +165,9 @@ template 'apache2.conf' do
owner
'root'
group
node
[
'apache'
][
'root_group'
]
mode
'0644'
variables
(
{
variables
(
apache_binary:
apache_binary
}
)
)
notifies
:reload
,
'service[apache2]'
,
:delayed
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment