diff options
author | Marc Chamberland <mchamberland@pbsc.com> | 2019-05-05 18:55:51 -0400 |
---|---|---|
committer | Marc Chamberland <mchamberland@pbsc.com> | 2019-05-23 12:29:44 -0400 |
commit | 44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec (patch) | |
tree | 1b1c1aff271923af23e987f36f98183ba20a59c9 /lib/chef/shell.rb | |
parent | f5de2c58ea3705a20a6784251a3cd8a58618f24d (diff) | |
download | chef-44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec.tar.gz |
distro constants for solo, zero and automate
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'lib/chef/shell.rb')
-rw-r--r-- | lib/chef/shell.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/shell.rb b/lib/chef/shell.rb index 831b3438ef..f8a8dfdca2 100644 --- a/lib/chef/shell.rb +++ b/lib/chef/shell.rb @@ -248,7 +248,7 @@ module Shell option :solo_shell, short: "-s", long: "--solo", - description: "chef-solo session", + description: "#{Chef::Dist::SOLO} session", boolean: true, proc: proc { Chef::Config[:solo] = true } @@ -260,7 +260,7 @@ module Shell option :solo_legacy_shell, long: "--solo-legacy-mode", - description: "chef-solo legacy session", + description: "#{Chef::Dist::SOLO} legacy session", boolean: true, proc: proc { Chef::Config[:solo_legacy_mode] = true } |