]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ssl/resources/certificate.rb
Convert MobileFrontend mediawiki extension to use wfLoadExtension
[chef.git] / cookbooks / ssl / resources / certificate.rb
index b28b98f2533fe4db9e764f99d890e2ba1c60deaa..facb59ad754b1487e4cbc97e043c2fa03e7a5c31 100644 (file)
@@ -8,7 +8,7 @@
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at
 #
-# http://www.apache.org/licenses/LICENSE-2.0
+# https://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
@@ -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