diff options
| author | Bryan McLellan <btm@loftninjas.org> | 2017-02-02 17:40:42 -0500 |
|---|---|---|
| committer | Bryan McLellan <btm@loftninjas.org> | 2017-02-02 17:40:42 -0500 |
| commit | 8e580ec9278884c142df9b57ea22413d6eab84d8 (patch) | |
| tree | a47df6a97bf8b880bb9e9f401346996b3d1112a4 | |
| parent | 301c9ee3e7f027809250e09d9598a8b7c5cbe899 (diff) | |
| download | chef-btm/no-fips.tar.gz | |
Fix --no-fips on chef-clientbtm/no-fips
Somewhat unintuitively, mixlib-cli needs both `boolean => true` as well as
`long => "--[no-]option"` for the boolean feature to work.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
| -rw-r--r-- | lib/chef/application/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 000aff905b..c8dbd76019 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -289,7 +289,7 @@ class Chef::Application::Client < Chef::Application :boolean => true option :fips, - :long => "--fips", + :long => "--[no-]fips", :description => "Enable fips mode", :boolean => true |
