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
|
||||
|
||||
action :create do
|
||||
include_recipe 'kosmos-base::letsencrypt'
|
||||
def initialize(*args)
|
||||
super
|
||||
|
||||
@run_context.include_recipe 'kosmos-base::letsencrypt'
|
||||
end
|
||||
|
||||
action :create do
|
||||
domains = Array(new_resource.domain)
|
||||
|
||||
case new_resource.auth
|
||||
|
Loading…
x
Reference in New Issue
Block a user