X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b8327dbd4ad1f06acf2d42bf056ef1cbfe83c27f..87daa0d823c8f92eda8190f2d9b482b3d85a7a0c:/cookbooks/ssl/resources/certificate.rb diff --git a/cookbooks/ssl/resources/certificate.rb b/cookbooks/ssl/resources/certificate.rb index fd1bff0e4..116c2bd4d 100644 --- a/cookbooks/ssl/resources/certificate.rb +++ b/cookbooks/ssl/resources/certificate.rb @@ -20,7 +20,7 @@ default_action :create property :certificate, String, :name_property => true -property :domains, [String, Array], :required => true +property :domains, [String, Array], :required => [:create] action :create do node.default[:letsencrypt][:certificates][new_resource.certificate] = {