Skip to content

Commit dc435f1

Browse files
tfheendanielsdeleo
authored andcommitted
Support setting validation and client keys from the command line
1 parent a112b62 commit dc435f1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎chef/lib/chef/application/client.rb‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,18 @@ class Chef::Application::Client < Chef::Application
113113
:description => "The chef server URL",
114114
:proc => nil
115115

116+
option :validation_key,
117+
:short => "-K KEY_FILE",
118+
:long => "--validation_key KEY_FILE",
119+
:description => "Set the validation key file location, used for registering new clients",
120+
:proc => nil
121+
122+
option :client_key,
123+
:short => "-k KEY_FILE",
124+
:long => "--client_key KEY_FILE",
125+
:description => "Set the client key file location",
126+
:proc => nil
127+
116128
option :version,
117129
:short => "-v",
118130
:long => "--version",

0 commit comments

Comments
 (0)