diff options
Diffstat (limited to 'lib/chef/resource/chef_client_cron.rb')
-rw-r--r-- | lib/chef/resource/chef_client_cron.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/chef_client_cron.rb b/lib/chef/resource/chef_client_cron.rb index 7e216a75a3..ab435c39f8 100644 --- a/lib/chef/resource/chef_client_cron.rb +++ b/lib/chef/resource/chef_client_cron.rb @@ -164,7 +164,7 @@ class Chef mailto new_resource.mailto if new_resource.mailto user new_resource.user comment new_resource.comment if new_resource.comment - command cron_command + command client_command end end @@ -193,7 +193,7 @@ class Chef # # @return [String] # - def cron_command + def client_command cmd = "" cmd << "/bin/sleep #{splay_sleep_time(new_resource.splay)}; " cmd << "#{which("nice")} -n #{new_resource.nice} " if new_resource.nice |