X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b8327dbd4ad1f06acf2d42bf056ef1cbfe83c27f..87daa0d823c8f92eda8190f2d9b482b3d85a7a0c:/cookbooks/ohai/resources/plugin.rb diff --git a/cookbooks/ohai/resources/plugin.rb b/cookbooks/ohai/resources/plugin.rb index 580d4912f..5d550371f 100644 --- a/cookbooks/ohai/resources/plugin.rb +++ b/cookbooks/ohai/resources/plugin.rb @@ -20,7 +20,7 @@ default_action :create property :plugin, :kind_of => String, :name_property => true -property :template, :kind_of => String, :required => true +property :template, :kind_of => String, :required => [:create] action :create do ohai new_resource.plugin do