Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
Merge branch 'gregkare-fix_typo_in_local_variable'
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman committed Sep 16, 2014
2 parents b46868a + ec24c87 commit 3219983
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@

case node['platform']
when 'gentoo'
genrate_template = false
generate_template = false
when 'debian', 'ubuntu'
genrate_template = true
generate_template = true
defaults_path = '/etc/default/nginx'
when 'freebsd'
generate_init = false
else
genrate_template = true
generate_template = true
defaults_path = '/etc/sysconfig/nginx'
end

Expand All @@ -183,7 +183,7 @@
mode '0755'
end if generate_init

if genrate_template
if generate_template
template defaults_path do
source 'nginx.sysconfig.erb'
owner 'root'
Expand Down

0 comments on commit 3219983

Please sign in to comment.