diff options
author | Serdar Sutay <serdar@opscode.com> | 2013-07-11 12:09:03 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2013-07-11 12:09:03 -0700 |
commit | aaa602a40d75eac3b746f3e5cdfd287b7bb6a199 (patch) | |
tree | 92dc309641d788381ddf7ab17fecef6d1becc18d | |
parent | 8afd5cc41210383728d3fd32b11c5183fa124e47 (diff) | |
parent | 46303598f9af0b050c291c07bde39f902eb80ba8 (diff) | |
download | chef-aaa602a40d75eac3b746f3e5cdfd287b7bb6a199.tar.gz |
Merge pull request #885 from opscode/solo-environment-support
Add -E flag to chef-solo in order to enable people use the new environment support in chef-solo.
-rw-r--r-- | lib/chef/application/solo.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 5e3fe90607..ada8cb0ae7 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -160,6 +160,11 @@ class Chef::Application::Solo < Chef::Application :description => 'Enable whyrun mode', :boolean => true + option :environment, + :short => '-E ENVIRONMENT', + :long => '--environment ENVIRONMENT', + :description => 'Set the Chef Environment on the node' + attr_reader :chef_solo_json def initialize |