knife-vrealize 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/Gemfile +1 -0
- data/Rakefile +1 -0
- data/knife-vrealize.gemspec +1 -1
- data/lib/chef/knife/cloud/vra_service.rb +3 -4
- data/lib/chef/knife/cloud/vra_service_helpers.rb +1 -0
- data/lib/chef/knife/cloud/vra_service_options.rb +1 -0
- data/lib/chef/knife/vra_catalog_list.rb +1 -0
- data/lib/chef/knife/vra_server_create.rb +4 -0
- data/lib/chef/knife/vra_server_delete.rb +1 -0
- data/lib/chef/knife/vra_server_list.rb +1 -0
- data/lib/chef/knife/vra_server_show.rb +1 -0
- data/lib/chef/knife/vro_workflow_execute.rb +5 -2
- data/lib/knife-vrealize/version.rb +2 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/unit/cloud/vra_service_helpers_spec.rb +1 -0
- data/spec/unit/cloud/vra_service_spec.rb +1 -0
- data/spec/unit/vra_catalog_list_spec.rb +1 -0
- data/spec/unit/vra_server_create_spec.rb +1 -0
- data/spec/unit/vra_server_delete_spec.rb +1 -0
- data/spec/unit/vra_server_list_spec.rb +1 -0
- data/spec/unit/vra_server_show_spec.rb +1 -0
- data/spec/unit/vro_workflow_execute_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff779a41dacf57d8e8b0da62e8c1ff4ebf19497b
|
4
|
+
data.tar.gz: 887808a8463b60bcdd67043de7f003ad9fa1eafc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e03db008c37c2380f41acfc9f0cfbc36f4c8c51998108af1e91034193f095e792df3f2e3e411f3023dd750e48be586b73df84cbe55f84b42b18fdde667f643
|
7
|
+
data.tar.gz: a054dec8ec49f25511f5c3378f8f8a5d917a9d338e7bb2979dbb6ca0643747d4ec0ee2a0ca8fbd9ef84d0f3ba15a4006b8e9d1af1ed72ed8aa7a27c6b6238d83
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [Unreleased](https://github.com/chef-partners/knife-vrealize/tree/HEAD)
|
4
4
|
|
5
|
+
[Full Changelog](https://github.com/chef-partners/knife-vrealize/compare/v2.0.1...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Added ssl-mode verify [\#22](https://github.com/chef-partners/knife-vrealize/pull/22) ([jjasghar](https://github.com/jjasghar))
|
10
|
+
|
11
|
+
## [v2.0.1](https://github.com/chef-partners/knife-vrealize/tree/v2.0.1) (2017-01-10)
|
5
12
|
[Full Changelog](https://github.com/chef-partners/knife-vrealize/compare/v2.0.0...v2.0.1)
|
6
13
|
|
7
14
|
**Merged pull requests:**
|
@@ -86,4 +93,4 @@
|
|
86
93
|
|
87
94
|
|
88
95
|
|
89
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
96
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/knife-vrealize.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
|
@@ -28,5 +29,4 @@ Gem::Specification.new do |spec|
|
|
28
29
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
29
30
|
spec.add_development_dependency 'rake', '~> 10.0'
|
30
31
|
spec.add_development_dependency 'rubocop', '~> 0.35'
|
31
|
-
|
32
32
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
#
|
2
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
3
4
|
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
@@ -128,10 +129,8 @@ class Chef
|
|
128
129
|
catalog_request.notes = options[:notes] unless options[:notes].nil?
|
129
130
|
catalog_request.subtenant_id = options[:subtenant_id] unless options[:subtenant_id].nil?
|
130
131
|
|
131
|
-
|
132
|
-
|
133
|
-
catalog_request.set_parameter(param[:key], param[:type], param[:value])
|
134
|
-
end
|
132
|
+
options[:extra_params]&.each do |param|
|
133
|
+
catalog_request.set_parameter(param[:key], param[:type], param[:value])
|
135
134
|
end
|
136
135
|
|
137
136
|
catalog_request
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
#
|
2
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
3
4
|
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
@@ -37,6 +38,9 @@ class Chef
|
|
37
38
|
long: '--cpus NUM_CPUS',
|
38
39
|
description: 'Number of CPUs the server should have'
|
39
40
|
|
41
|
+
option :node_ssl_verify_mode,
|
42
|
+
long: '--node-ssl-verify-mode [peer|none]',
|
43
|
+
description: 'Whether or not to verify the SSL cert for all HTTPS requests when bootstrapping'
|
40
44
|
option :memory,
|
41
45
|
long: '--memory RAM_IN_MB',
|
42
46
|
description: 'Amount of RAM, in MB, the server should have'
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
#
|
2
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
3
4
|
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
@@ -123,8 +124,10 @@ class Chef
|
|
123
124
|
end
|
124
125
|
|
125
126
|
def validate!
|
126
|
-
|
127
|
-
|
127
|
+
unless missing_config_parameters.empty?
|
128
|
+
print_error_and_exit('The following parameters are missing but required:' \
|
129
|
+
"#{missing_config_parameters.join(', ')}")
|
130
|
+
end
|
128
131
|
|
129
132
|
print_error_and_exit('You must supply a workflow name.') if @name_args.empty?
|
130
133
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-vrealize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chef Partner Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|