X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/aeaa46f3071de018b5c5e0f5678cb5b4082e3ddc..dfc66f51db3d3bd9bedc68f3c5ea1aacb9f7a531:/cookbooks/squid/resources/fragment.rb?ds=inline diff --git a/cookbooks/squid/resources/fragment.rb b/cookbooks/squid/resources/fragment.rb index 22c31ba47..a418d6bcd 100644 --- a/cookbooks/squid/resources/fragment.rb +++ b/cookbooks/squid/resources/fragment.rb @@ -17,10 +17,12 @@ # limitations under the License. # +unified_mode true + default_action :create property :fragment, :kind_of => String, :name_property => true -property :template, :kind_of => String, :required => true +property :template, :kind_of => String, :required => [:create] property :variables, :kind_of => Hash, :default => {} action :create do