]> git.openstreetmap.org Git - chef.git/commitdiff
Qualify property access
authorTom Hughes <tom@compton.nu>
Wed, 22 Nov 2017 13:29:38 +0000 (13:29 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 22 Nov 2017 13:29:38 +0000 (13:29 +0000)
cookbooks/ssl/resources/certificate.rb

index b28b98f2533fe4db9e764f99d890e2ba1c60deaa..203b798fe96112d5c0ee49214c1d497e30b009a6 100644 (file)
@@ -24,7 +24,7 @@ property :domains, [String, Array], :required => true
 
 action :create do
   node.default[:letsencrypt][:certificates][new_resource.certificate] = {
-    :domains => Array(domains)
+    :domains => Array(new_resource.domains)
   }
 
   if letsencrypt