X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc:/cookbooks/squid/resources/fragment.rb diff --git a/cookbooks/squid/resources/fragment.rb b/cookbooks/squid/resources/fragment.rb index 0f55aa236..22c31ba47 100644 --- a/cookbooks/squid/resources/fragment.rb +++ b/cookbooks/squid/resources/fragment.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: squid +# Cookbook:: squid # Resource:: squid_fragment # -# Copyright 2015, OpenStreetMap Foundation +# Copyright:: 2015, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ default_action :create -property :fragment, :kind_of => String, :name_attribute => true +property :fragment, :kind_of => String, :name_property => true property :template, :kind_of => String, :required => true property :variables, :kind_of => Hash, :default => {} @@ -28,7 +28,7 @@ action :create do source new_resource.template owner "root" group "root" - mode 0o644 + mode "644" variables new_resource.variables end end