summaryrefslogtreecommitdiff
path: root/lib/chef/knife/status.rb
diff options
context:
space:
mode:
authorMarc Chamberland <mchamberland@pbsc.com>2019-05-05 20:40:46 -0400
committerMarc Chamberland <mchamberland@pbsc.com>2019-05-23 12:31:28 -0400
commit925c4c7d757404c7c68001bb928044cad0f5c2a8 (patch)
treeb2ce5aeb86a6e3abc6eebfb7fba3aa98125ebe92 /lib/chef/knife/status.rb
parentc08d0b8789b9ad5ac8082bef370d5cc6ae5b610f (diff)
downloadchef-925c4c7d757404c7c68001bb928044cad0f5c2a8.tar.gz
more distro constants for "Chef"
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'lib/chef/knife/status.rb')
-rw-r--r--lib/chef/knife/status.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/status.rb b/lib/chef/knife/status.rb
index 4e51b4a2ad..074488e003 100644
--- a/lib/chef/knife/status.rb
+++ b/lib/chef/knife/status.rb
@@ -19,6 +19,7 @@
require_relative "../knife"
require_relative "core/status_presenter"
require_relative "core/node_presenter"
+require_relative "../dist"
class Chef
class Knife
@@ -43,7 +44,7 @@ class Chef
option :hide_by_mins,
long: "--hide-by-mins MINS",
- description: "Hide nodes that have run chef in the last MINS minutes"
+ description: "Hide nodes that have run #{Chef::Dist::CLIENT} in the last MINS minutes"
def append_to_query(term)
@query << " AND " unless @query.empty?