diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-15 21:23:16 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-15 21:23:16 -0700 |
commit | 76352b126bf50987fda6080dec22b10527eeb705 (patch) | |
tree | 417aaead4dceeef9809f21745b58ee6bfec3caa4 /lib/chef/application | |
parent | 7109ea1f3ea01e768151380c6f2bc000b6396b6f (diff) | |
download | chef-76352b126bf50987fda6080dec22b10527eeb705.tar.gz |
missing SELF_PIPE for the daemon loop
Diffstat (limited to 'lib/chef/application')
-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", |