Merge branch 'feature/54-certbot_dev_env' of kosmos/chef into master
This commit is contained in:
commit
8f4e2ca77a
@ -101,7 +101,7 @@ nginx_site server_name do
|
|||||||
action :enable
|
action :enable
|
||||||
end
|
end
|
||||||
|
|
||||||
nginx_certbot_site server_name unless node.chef_environment == "development"
|
nginx_certbot_site server_name
|
||||||
|
|
||||||
#
|
#
|
||||||
# Extensions
|
# Extensions
|
||||||
|
@ -6,6 +6,8 @@ property :domain, String, name_property: true
|
|||||||
property :site, String
|
property :site, String
|
||||||
|
|
||||||
action :create do
|
action :create do
|
||||||
|
return if node.chef_environment == "development"
|
||||||
|
|
||||||
include_recipe "kosmos-nginx"
|
include_recipe "kosmos-nginx"
|
||||||
|
|
||||||
domain = new_resource.domain
|
domain = new_resource.domain
|
||||||
|
@ -43,4 +43,4 @@ nginx_site server_name do
|
|||||||
action :enable
|
action :enable
|
||||||
end
|
end
|
||||||
|
|
||||||
nginx_certbot_site server_name unless node.chef_environment == "development"
|
nginx_certbot_site server_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user