knife-vcenter 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/{LICENSE.txt → LICENSE} +0 -0
- data/lib/base.rb +8 -3
- data/lib/chef/knife/cloud/vcenter_service.rb +117 -81
- data/lib/chef/knife/cloud/vcenter_service_helpers.rb +15 -3
- data/lib/chef/knife/cloud/vcenter_service_options.rb +18 -17
- data/lib/chef/knife/vcenter_cluster_list.rb +19 -13
- data/lib/chef/knife/vcenter_datacenter_list.rb +19 -13
- data/lib/chef/knife/vcenter_host_list.rb +28 -19
- data/lib/chef/knife/vcenter_vm_clone.rb +39 -28
- data/lib/chef/knife/vcenter_vm_create.rb +26 -21
- data/lib/chef/knife/vcenter_vm_delete.rb +15 -10
- data/lib/chef/knife/vcenter_vm_list.rb +31 -21
- data/lib/chef/knife/vcenter_vm_show.rb +12 -13
- data/lib/knife-vcenter/version.rb +4 -2
- data/lib/lookup_service_helper.rb +421 -427
- data/lib/sso.rb +213 -218
- data/lib/support/clone_vm.rb +4 -4
- data/spec/spec_helper.rb +2 -2
- data/spec/unit/vcenter_vm_list_spec.rb +21 -22
- metadata +6 -58
- data/.github/ISSUE_TEMPLATE.md +0 -22
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -14
- data/.gitignore +0 -21
- data/.rubocop.yml +0 -18
- data/.travis.yml +0 -16
- data/CHANGELOG.md +0 -34
- data/Gemfile +0 -3
- data/README.md +0 -219
- data/Rakefile +0 -20
- data/knife-vcenter.gemspec +0 -37
data/Rakefile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require 'bundler/gem_tasks'
|
3
|
-
require 'rspec/core/rake_task'
|
4
|
-
require 'rubocop/rake_task'
|
5
|
-
|
6
|
-
RSpec::Core::RakeTask.new(:spec)
|
7
|
-
RuboCop::RakeTask.new(:style)
|
8
|
-
|
9
|
-
begin
|
10
|
-
require 'github_changelog_generator/task'
|
11
|
-
|
12
|
-
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
13
|
-
config.future_release = KnifeVcenter::VERSION
|
14
|
-
config.issues = true
|
15
|
-
end
|
16
|
-
rescue LoadError
|
17
|
-
puts 'github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs'
|
18
|
-
end
|
19
|
-
|
20
|
-
task default: [ :spec, :style ]
|
data/knife-vcenter.gemspec
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# frozen_string_literal: true
|
3
|
-
lib = File.expand_path('../lib', __FILE__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
|
6
|
-
require 'knife-vcenter/version'
|
7
|
-
|
8
|
-
Gem::Specification.new do |spec|
|
9
|
-
spec.name = 'knife-vcenter'
|
10
|
-
spec.version = KnifeVcenter::VERSION
|
11
|
-
spec.authors = ['Chef Partner Engineering']
|
12
|
-
spec.email = ['partnereng@chef.io']
|
13
|
-
spec.summary = 'Knife plugin to VMware vCenter.'
|
14
|
-
spec.description = spec.summary
|
15
|
-
spec.homepage = 'https://github.com/chef/knife-vcenter'
|
16
|
-
spec.license = 'Apache 2.0'
|
17
|
-
|
18
|
-
spec.files = `git ls-files -z`.split("\x0")
|
19
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
|
-
spec.require_paths = ['lib']
|
22
|
-
|
23
|
-
spec.add_dependency 'knife-cloud', '~> 1.2'
|
24
|
-
spec.add_dependency 'rb-readline', '~> 0.5'
|
25
|
-
spec.add_dependency 'rbvmomi', '~> 1.11'
|
26
|
-
spec.add_dependency 'savon', '~> 2.11'
|
27
|
-
spec.add_dependency 'vsphere-automation-sdk', '~> 6.6'
|
28
|
-
|
29
|
-
spec.add_development_dependency 'bundler', '~> 1.7'
|
30
|
-
spec.add_development_dependency 'debase'
|
31
|
-
spec.add_development_dependency 'github_changelog_generator'
|
32
|
-
spec.add_development_dependency 'pry'
|
33
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
-
spec.add_development_dependency 'rubocop', '~> 0.35'
|
35
|
-
spec.add_development_dependency 'ruby-debug-ide', '~> 0.6.0'
|
36
|
-
|
37
|
-
end
|