]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/site.rb
Make passenger default to ruby 2.5 on 18.04
[chef.git] / cookbooks / imagery / resources / site.rb
index e4c2c6f86257a5e6805468bc34a7306bd79a92f7..9519b63bdaa304421e081b50ce2c34f83c0c9874 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,
@@ -52,7 +52,7 @@ action :create do
     user "root"
     group "root"
     mode 0o644
-    variables :title => title
+    variables :title => new_resource.title
   end
 
   cookbook_file "/srv/#{new_resource.site}/imagery.css" do