knife-easybake 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chef/knife/setup.rb +3 -1
- data/lib/knife_easybake/version.rb +1 -1
- metadata +1 -1
data/lib/chef/knife/setup.rb
CHANGED
|
@@ -15,11 +15,13 @@ class Chef
|
|
|
15
15
|
option :regen_user_key,
|
|
16
16
|
:long => '--[no-]regen-user-key',
|
|
17
17
|
:boolean => true,
|
|
18
|
+
:default => true,
|
|
18
19
|
:description => "Tell setup to regenerate the user key. Default: false"
|
|
19
20
|
|
|
20
21
|
option :regen_validator_key,
|
|
21
22
|
:long => '--[no-]regen-validator-key',
|
|
22
23
|
:boolean => true,
|
|
24
|
+
:default => true,
|
|
23
25
|
:description => "Tell setup to regenerate the validator key. Default: false"
|
|
24
26
|
|
|
25
27
|
option :validation_key,
|
|
@@ -38,7 +40,7 @@ class Chef
|
|
|
38
40
|
|
|
39
41
|
def configure_chef
|
|
40
42
|
super
|
|
41
|
-
init_config_variable(:chef_repo_path)
|
|
43
|
+
init_config_variable(:chef_repo_path, '.')
|
|
42
44
|
init_config_variable(:validation_key)
|
|
43
45
|
init_config_variable(:validation_client_name)
|
|
44
46
|
init_config_variable(:api_server_url, 'https://api.opscode.com')
|