diff options
Diffstat (limited to 'lib/chef/resource/cron_d.rb')
-rw-r--r-- | lib/chef/resource/cron_d.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/cron_d.rb b/lib/chef/resource/cron_d.rb index 63d168d16a..ab6d600a16 100644 --- a/lib/chef/resource/cron_d.rb +++ b/lib/chef/resource/cron_d.rb @@ -163,7 +163,7 @@ class Chef # warn if someone passes the deprecated cookbook property def after_created - raise ArgumentError, "The 'cookbook' property for the cron_d resource is no longer supported now that this resource ships in Chef itself." if new_resource.cookbook + raise ArgumentError, "The 'cookbook' property for the cron_d resource is no longer supported now that this resource ships in Chef itself." if cookbook end action :create do |