Do not require nginx from certbot recipe
In order to be able to use different nginx install recipes, we must not require a specific one from this recipe.
This commit is contained in:
parent
6a89bb9d2e
commit
0bebdf7635
@ -8,8 +8,6 @@ property :site, String
|
|||||||
action :create do
|
action :create do
|
||||||
return if node.chef_environment == "development"
|
return if node.chef_environment == "development"
|
||||||
|
|
||||||
include_recipe "kosmos-nginx"
|
|
||||||
|
|
||||||
domain = new_resource.domain
|
domain = new_resource.domain
|
||||||
site = new_resource.site || domain
|
site = new_resource.site || domain
|
||||||
root_directory = "/var/www/#{domain}"
|
root_directory = "/var/www/#{domain}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user