diff options
-rw-r--r-- | lib/chef/application/base.rb | 3 | ||||
-rw-r--r-- | lib/chef/application/client.rb | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/application/base.rb b/lib/chef/application/base.rb index 955d96b2a7..957d19a127 100644 --- a/lib/chef/application/base.rb +++ b/lib/chef/application/base.rb @@ -31,6 +31,9 @@ class Chef::Application::Base < Chef::Application include ChefConfig::Mixin::DotD include LicenseAcceptance::CLIFlags::MixlibCLI + # Mimic self_pipe sleep from Unicorn to capture signals safely + SELF_PIPE = [] # rubocop:disable Style/MutableConstant + option :config_option, long: "--config-option OPTION=VALUE", description: "Override a single configuration option.", diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 60d60e21c5..4f320733a1 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -24,9 +24,6 @@ require "uri" unless defined?(URI) class Chef::Application::Client < Chef::Application::Base - # Mimic self_pipe sleep from Unicorn to capture signals safely - SELF_PIPE = [] # rubocop:disable Style/MutableConstant - option :config_file, short: "-c CONFIG", long: "--config CONFIG", |