Change the flag value so that it's intuitive.
This commit is contained in:
parent
955f3ab1ca
commit
9438dc34b4
|
@ -4,7 +4,7 @@
|
||||||
node.reverse_merge!({
|
node.reverse_merge!({
|
||||||
'nginx' => {
|
'nginx' => {
|
||||||
'version' => '1.23.2',
|
'version' => '1.23.2',
|
||||||
'skip_lego' => 'false',
|
'skip_lego' => 'true',
|
||||||
'skip_webadm' => 'false'
|
'skip_webadm' => 'true'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -33,12 +33,14 @@ end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Prerequisites for Building nginx:
|
# Prerequisites for Building nginx:
|
||||||
if node['nginx']['skip_webadm']
|
if !node['nginx']['skip_webadm']
|
||||||
include_recipe './webadm.rb'
|
include_recipe './webadm.rb'
|
||||||
|
include_recipe '../blog/default.rb'
|
||||||
|
include_recipe '../everun/default.rb'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Install Let's Encrypt:
|
# Install Let's Encrypt:
|
||||||
if node['nginx']['skip_lego']
|
if !node['nginx']['skip_lego']
|
||||||
include_recipe './lego.rb'
|
include_recipe './lego.rb'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue