knife-easybake 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/setup.rb +7 -0
- data/lib/knife_easybake/version.rb +1 -1
- metadata +1 -1
data/lib/chef/knife/setup.rb
CHANGED
@@ -53,6 +53,13 @@ class Chef
|
|
53
53
|
organization = name_args[0]
|
54
54
|
end
|
55
55
|
|
56
|
+
# Create the organization
|
57
|
+
begin
|
58
|
+
output "Ensuring organization #{organization} existence ..."
|
59
|
+
webui_session.create_org(organization)
|
60
|
+
rescue
|
61
|
+
end
|
62
|
+
|
56
63
|
# Get validator key
|
57
64
|
if config[:regen_validator_key]
|
58
65
|
output "Regenerating validation key for #{organization}-validator..."
|