From 9c5987c5cf4bd8e9e35dc39c1fc7d54d744ad83a Mon Sep 17 00:00:00 2001 From: Krzysztof Barczynski Date: Sun, 3 Nov 2013 00:07:27 -0700 Subject: [PATCH] Passing --pid_file PID_FILE, --log_file LOG_FILE to knife cluster kick does not work (e.g. PID_FILE is treated as facet name). --- lib/chef/knife/cluster_kick.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chef/knife/cluster_kick.rb b/lib/chef/knife/cluster_kick.rb index 02c834d6..0b691867 100644 --- a/lib/chef/knife/cluster_kick.rb +++ b/lib/chef/knife/cluster_kick.rb @@ -38,12 +38,12 @@ class ClusterKick < Chef::Knife::ClusterSsh banner 'knife cluster kick CLUSTER[-FACET[-INDEXES]] (options) - start a run of chef-client on each server, tailing the logs and exiting when the run completes.' option :pid_file, - :long => "--pid_file", + :long => "--pid_file PID_FILE", :description => "Where to find the pid file. Typically /var/run/chef/client.pid (init.d) or /etc/sv/chef-client/supervise/pid (runit)", :default => "/etc/sv/chef-client/supervise/pid" option :log_file, - :long => "--log_file", + :long => "--log_file LOG_FILE", :description => "Where to find the log file. Typically /var/log/chef/client.log", :default => "/var/log/chef/client.log"