diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-15 21:56:55 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-15 21:56:55 -0700 |
commit | d68ecc918ec7e3c48b92b39341d7649812a19768 (patch) | |
tree | 44a97c0851d9b5f6c6474b998a057c7f3a57f282 /lib/chef/application/solo.rb | |
parent | ec8b0c86ac05e3d7d7d452cb5439828e2fcd9e51 (diff) | |
download | chef-d68ecc918ec7e3c48b92b39341d7649812a19768.tar.gz |
consolidate some options in the base class
most of these are options that apply to either chef-client -z or
to chef-solo without legacy mode, so they are justifiably common
options (that are handled by the trampolining into the Client
code from Solo right now.
the --legacy-mode switch is solo-specific (although we should wire it
up for chef-client eventually once all the code is merged).
old-reporting and skip-cookbook-sync only make sense for actual
chef-client runs so are marked as such in the help text
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/application/solo.rb')
-rw-r--r-- | lib/chef/application/solo.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 1d3e817dfc..bce95c2841 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -49,11 +49,6 @@ class Chef::Application::Solo < Chef::Application::Base long: "--recipe-url RECIPE_URL", description: "Pull down a remote gzipped tarball of recipes and untar it to the cookbook cache." - option :solo_legacy_mode, - long: "--legacy-mode", - description: "Run #{Chef::Dist::SOLO} in legacy mode.", - boolean: true - # Get this party started def run(enforce_license: false) setup_signal_handlers |