diff options
author | Tim Smith <tsmith@chef.io> | 2018-07-10 09:35:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-07-10 09:35:36 -0700 |
commit | 97cfef7bdf6448b342deec6825f945d6cfb55e7d (patch) | |
tree | ee7507f6fb0d3911f4a35e472b3636541a233901 /lib/chef/resource | |
parent | 4ab5fbadd8da5c5d66ecc37fe3c211dc1023d4d0 (diff) | |
download | chef-97cfef7bdf6448b342deec6825f945d6cfb55e7d.tar.gz |
Attribute -> Property in additional places
Specs and comments, but we should get it right in those places as well
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/script.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/service.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/script.rb b/lib/chef/resource/script.rb index 35d73a61dc..ac3af619e5 100644 --- a/lib/chef/resource/script.rb +++ b/lib/chef/resource/script.rb @@ -40,7 +40,7 @@ class Chef # FIXME: remove this and use an execute sub-resource instead of inheriting from Execute def command(arg = nil) unless arg.nil? - raise Chef::Exceptions::Script, "Do not use the command attribute on a #{resource_name} resource, use the 'code' property instead." + raise Chef::Exceptions::Script, "Do not use the command property on a #{resource_name} resource, use the 'code' property instead." end super end diff --git a/lib/chef/resource/service.rb b/lib/chef/resource/service.rb index fe13c433cb..c5197d5f06 100644 --- a/lib/chef/resource/service.rb +++ b/lib/chef/resource/service.rb @@ -123,7 +123,7 @@ class Chef # distributions this is '/etc/init.d/SERVICE_NAME' by default. In # non-standard configurations setting this value will save having to # specify overrides for the start_command, stop_command and - # restart_command attributes. + # restart_command properties. def init_command(arg = nil) set_or_return( :init_command, |