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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0a4323fc1ff045d47d748fd42d4dbb9994e4ac4
4
- data.tar.gz: 11388d1ec48ba1a0a05393a24990f5d316e46d19
3
+ metadata.gz: ff779a41dacf57d8e8b0da62e8c1ff4ebf19497b
4
+ data.tar.gz: 887808a8463b60bcdd67043de7f003ad9fa1eafc
5
5
  SHA512:
6
- metadata.gz: 7e2e605f2270de5ebff40a1caf3e4edea15aa8c2d83ea2e6930f760830abc45ba67d28f0233aed755664b29a6d63e25b98d05fa2d208c64177fc125f326f104c
7
- data.tar.gz: fba865a67214fd4934c4a0cee8ef8d5ea6d5b6444513e703cb6858880c81e13b62354431483e66283ab1fac47c5f65abe231f89e20c19ff4003387005db143cd
6
+ metadata.gz: 49e03db008c37c2380f41acfc9f0cfbc36f4c8c51998108af1e91034193f095e792df3f2e3e411f3023dd750e48be586b73df84cbe55f84b42b18fdde667f643
7
+ data.tar.gz: a054dec8ec49f25511f5c3378f8f8a5d917a9d338e7bb2979dbb6ca0643747d4ec0ee2a0ca8fbd9ef84d0f3ba15a4006b8e9d1af1ed72ed8aa7a27c6b6238d83
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [v2.0.1](https://github.com/chef-partners/knife-vrealize/tree/v2.0.1) (2017-01-09)
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
@@ -1,2 +1,3 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
  gemspec
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'bundler/gem_tasks'
2
3
  require 'rspec/core/rake_task'
3
4
  require 'rubocop/rake_task'
@@ -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
- if options[:extra_params]
132
- options[:extra_params].each do |param|
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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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
- print_error_and_exit('The following parameters are missing but required:' \
127
- "#{missing_config_parameters.join(', ')}") unless missing_config_parameters.empty?
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
@@ -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.
@@ -17,5 +18,5 @@
17
18
  #
18
19
 
19
20
  module KnifeVrealize
20
- VERSION = '2.0.1'.freeze
21
+ VERSION = '2.1.0'
21
22
  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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
@@ -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.
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.1
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-01-10 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef