Install certbot when using the tls_cert_for resource
This commit is contained in:
parent
307ccbd561
commit
05daff9029
@ -6,9 +6,13 @@ property :auth, [String, NilClass], default: nil
|
|||||||
|
|
||||||
default_action :create
|
default_action :create
|
||||||
|
|
||||||
action :create do
|
def initialize(*args)
|
||||||
include_recipe 'kosmos-base::letsencrypt'
|
super
|
||||||
|
|
||||||
|
@run_context.include_recipe 'kosmos-base::letsencrypt'
|
||||||
|
end
|
||||||
|
|
||||||
|
action :create do
|
||||||
domains = Array(new_resource.domain)
|
domains = Array(new_resource.domain)
|
||||||
|
|
||||||
case new_resource.auth
|
case new_resource.auth
|
||||||
|
Loading…
x
Reference in New Issue
Block a user