vagrant-omnibus 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rubocop.yml +8 -0
- data/.travis.yml +4 -1
- data/CHANGELOG.md +25 -1
- data/README.md +1 -0
- data/Rakefile +2 -0
- data/lib/vagrant-omnibus/action/install_chef.rb +37 -21
- data/lib/vagrant-omnibus/config.rb +30 -21
- data/lib/vagrant-omnibus/plugin.rb +12 -10
- data/lib/vagrant-omnibus/version.rb +2 -1
- data/lib/vagrant-omnibus.rb +1 -0
- data/test/acceptance/virtualbox/Vagrantfile +4 -4
- data/test/support/cookbooks/chef-inator/metadata.rb +6 -6
- data/test/support/cookbooks/chef-inator/recipes/default.rb +1 -1
- data/test/unit/spec_helper.rb +1 -1
- data/test/unit/vagrant-omnibus/config_spec.rb +21 -21
- data/vagrant-omnibus.gemspec +1 -0
- metadata +21 -4
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## 1.2.0 (December 17, 2013)
|
2
|
+
|
3
|
+
FEATURES:
|
4
|
+
|
5
|
+
* PR [#52][]: Change plugin name to correspond to gem name. ([@tmatilai][])
|
6
|
+
|
7
|
+
IMPROVEMENTS:
|
8
|
+
|
9
|
+
* PR [#48][]: Don't install Chef if `--no-provision` is specified. ([@tmatilai][])
|
10
|
+
* PR [#50][]: Update README.md with vagrant-parallels compatibility. ([@wizonesolutions][])
|
11
|
+
|
12
|
+
BUG FIXES:
|
13
|
+
|
14
|
+
* Issue [#12][]: Ensure plugin is no-op on Windows guests. ([@schisamo][])
|
15
|
+
* PR [#53][]: Ensure installed version check works on all platforms. ([@comutt][])
|
16
|
+
|
1
17
|
## 1.1.2 (October 17, 2013)
|
2
18
|
|
3
19
|
IMPROVEMENTS:
|
@@ -63,6 +79,7 @@ BUG FIXES:
|
|
63
79
|
## 1.0.0 (April 1, 2013)
|
64
80
|
|
65
81
|
* The initial release.
|
82
|
+
|
66
83
|
<!--- The following link definition list is generated by PimpMyChangelog --->
|
67
84
|
[#2]: https://github.com/schisamo/vagrant-omnibus/issues/2
|
68
85
|
[#3]: https://github.com/schisamo/vagrant-omnibus/issues/3
|
@@ -71,6 +88,7 @@ BUG FIXES:
|
|
71
88
|
[#7]: https://github.com/schisamo/vagrant-omnibus/issues/7
|
72
89
|
[#8]: https://github.com/schisamo/vagrant-omnibus/issues/8
|
73
90
|
[#10]: https://github.com/schisamo/vagrant-omnibus/issues/10
|
91
|
+
[#12]: https://github.com/schisamo/vagrant-omnibus/issues/12
|
74
92
|
[#15]: https://github.com/schisamo/vagrant-omnibus/issues/15
|
75
93
|
[#17]: https://github.com/schisamo/vagrant-omnibus/issues/17
|
76
94
|
[#19]: https://github.com/schisamo/vagrant-omnibus/issues/19
|
@@ -86,6 +104,11 @@ BUG FIXES:
|
|
86
104
|
[#41]: https://github.com/schisamo/vagrant-omnibus/issues/41
|
87
105
|
[#43]: https://github.com/schisamo/vagrant-omnibus/issues/43
|
88
106
|
[#45]: https://github.com/schisamo/vagrant-omnibus/issues/45
|
107
|
+
[#48]: https://github.com/schisamo/vagrant-omnibus/issues/48
|
108
|
+
[#50]: https://github.com/schisamo/vagrant-omnibus/issues/50
|
109
|
+
[#52]: https://github.com/schisamo/vagrant-omnibus/issues/52
|
110
|
+
[#53]: https://github.com/schisamo/vagrant-omnibus/issues/53
|
111
|
+
[@comutt]: https://github.com/comutt
|
89
112
|
[@matsu911]: https://github.com/matsu911
|
90
113
|
[@michfield]: https://github.com/michfield
|
91
114
|
[@petecheslock]: https://github.com/petecheslock
|
@@ -93,4 +116,5 @@ BUG FIXES:
|
|
93
116
|
[@schisamo]: https://github.com/schisamo
|
94
117
|
[@smdahlen]: https://github.com/smdahlen
|
95
118
|
[@srenatus]: https://github.com/srenatus
|
96
|
-
[@tmatilai]: https://github.com/tmatilai
|
119
|
+
[@tmatilai]: https://github.com/tmatilai
|
120
|
+
[@wizonesolutions]: https://github.com/wizonesolutions
|
data/README.md
CHANGED
@@ -22,6 +22,7 @@ known to work with the following
|
|
22
22
|
* LXC (ships in [vagrant-lxc](https://github.com/fgrehm/vagrant-lxc))
|
23
23
|
* OpenStack (ships in [vagrant-openstack-plugin](https://github.com/cloudbau/vagrant-openstack-plugin))
|
24
24
|
* Digital Ocean (ships in [vagrant-digitalocean](https://github.com/smdahlen/vagrant-digitalocean))
|
25
|
+
* Parallels Desktop (ships in [vagrant-parallels](https://github.com/yshahin/vagrant-parallels))
|
25
26
|
|
26
27
|
## Installation
|
27
28
|
|
data/Rakefile
CHANGED
@@ -14,10 +14,10 @@
|
|
14
14
|
# limitations under the License.
|
15
15
|
#
|
16
16
|
|
17
|
-
require
|
17
|
+
require 'log4r'
|
18
18
|
require 'shellwords'
|
19
19
|
|
20
|
-
require
|
20
|
+
require 'vagrant/util/downloader'
|
21
21
|
|
22
22
|
module VagrantPlugins
|
23
23
|
module Omnibus
|
@@ -26,12 +26,13 @@ module VagrantPlugins
|
|
26
26
|
#
|
27
27
|
# This action installs Chef Omnibus packages at the desired version.
|
28
28
|
class InstallChef
|
29
|
-
|
30
|
-
|
29
|
+
INSTALL_SH = "#{ENV['OMNIBUS_INSTALL_URL'] ||
|
30
|
+
'https://www.opscode.com/chef/install.sh'}"
|
31
31
|
|
32
32
|
def initialize(app, env)
|
33
33
|
@app = app
|
34
|
-
@logger =
|
34
|
+
@logger =
|
35
|
+
Log4r::Logger.new('vagrantplugins::omnibus::action::installchef')
|
35
36
|
@machine = env[:machine]
|
36
37
|
# Config#finalize! SHOULD be called automatically
|
37
38
|
@machine.config.omnibus.finalize!
|
@@ -40,19 +41,23 @@ module VagrantPlugins
|
|
40
41
|
def call(env)
|
41
42
|
@app.call(env)
|
42
43
|
|
43
|
-
return
|
44
|
+
return if !@machine.communicate.ready? ||
|
45
|
+
!provision_enabled?(env) ||
|
46
|
+
windows_guest?(env)
|
44
47
|
|
45
48
|
desired_version = @machine.config.omnibus.chef_version
|
46
49
|
unless desired_version.nil?
|
47
50
|
if installed_version == desired_version
|
48
|
-
env[:ui].info I18n.t(
|
49
|
-
|
50
|
-
|
51
|
+
env[:ui].info I18n.t(
|
52
|
+
'vagrant-omnibus.action.installed',
|
53
|
+
version: desired_version
|
54
|
+
)
|
51
55
|
else
|
52
56
|
fetch_install_sh(env)
|
53
|
-
env[:ui].info I18n.t(
|
54
|
-
|
55
|
-
|
57
|
+
env[:ui].info I18n.t(
|
58
|
+
'vagrant-omnibus.action.installing',
|
59
|
+
version: desired_version
|
60
|
+
)
|
56
61
|
install(desired_version, env)
|
57
62
|
recover(env)
|
58
63
|
end
|
@@ -61,11 +66,20 @@ module VagrantPlugins
|
|
61
66
|
|
62
67
|
private
|
63
68
|
|
69
|
+
def windows_guest?(env)
|
70
|
+
env[:machine].config.vm.guest.eql?(:windows)
|
71
|
+
end
|
72
|
+
|
73
|
+
def provision_enabled?(env)
|
74
|
+
env.fetch(:provision_enabled, true)
|
75
|
+
end
|
76
|
+
|
64
77
|
def installed_version
|
65
78
|
version = nil
|
66
|
-
command = 'echo $(chef-solo
|
79
|
+
command = 'echo $(chef-solo -v)'
|
67
80
|
@machine.communicate.sudo(command) do |type, data|
|
68
|
-
|
81
|
+
v = data.chomp if [:stderr, :stdout].include?(type)
|
82
|
+
version ||= v.split[1] unless v.empty?
|
69
83
|
end
|
70
84
|
version
|
71
85
|
end
|
@@ -76,9 +90,10 @@ module VagrantPlugins
|
|
76
90
|
shell_escaped_version = Shellwords.escape(version)
|
77
91
|
|
78
92
|
@machine.communicate.tap do |comm|
|
79
|
-
comm.upload(@install_sh_temp_path,
|
80
|
-
# TODO
|
81
|
-
|
93
|
+
comm.upload(@install_sh_temp_path, 'install.sh')
|
94
|
+
# TODO: Execute with `sh` once install.sh removes it's bash-isms.
|
95
|
+
install_cmd = "bash install.sh -v #{shell_escaped_version} 2>&1"
|
96
|
+
comm.sudo(install_cmd) do |type, data|
|
82
97
|
if [:stderr, :stdout].include?(type)
|
83
98
|
next if data =~ /stdin: is not a tty/
|
84
99
|
env[:ui].info(data)
|
@@ -91,15 +106,16 @@ module VagrantPlugins
|
|
91
106
|
#
|
92
107
|
# Mostly lifted from:
|
93
108
|
#
|
94
|
-
#
|
109
|
+
# mitchellh/vagrant/blob/master/lib/vagrant/action/builtin/box_add.rb
|
95
110
|
#
|
96
111
|
def fetch_install_sh(env)
|
97
|
-
@install_sh_temp_path =
|
112
|
+
@install_sh_temp_path =
|
113
|
+
env[:tmp_path].join(Time.now.to_i.to_s + '-install.sh')
|
98
114
|
@logger.info("Downloading install.sh to: #{@install_sh_temp_path}")
|
99
115
|
|
100
116
|
url = INSTALL_SH
|
101
117
|
if File.file?(url) || url !~ /^[a-z0-9]+:.*$/i
|
102
|
-
@logger.info(
|
118
|
+
@logger.info('Assuming URL is a file.')
|
103
119
|
file_path = File.expand_path(url)
|
104
120
|
file_path = Vagrant::Util::Platform.cygwin_windows_path(file_path)
|
105
121
|
url = "file:#{file_path}"
|
@@ -120,7 +136,7 @@ module VagrantPlugins
|
|
120
136
|
rescue Vagrant::Errors::DownloaderInterrupted
|
121
137
|
# The downloader was interrupted, so just return, because that
|
122
138
|
# means we were interrupted as well.
|
123
|
-
env[:ui].info(I18n.t(
|
139
|
+
env[:ui].info(I18n.t('vagrant-omnibus.download.interrupted'))
|
124
140
|
return
|
125
141
|
end
|
126
142
|
end
|
@@ -19,16 +19,17 @@ require 'rubygems/dependency_installer'
|
|
19
19
|
require 'vagrant'
|
20
20
|
|
21
21
|
module VagrantPlugins
|
22
|
+
#
|
22
23
|
module Omnibus
|
23
24
|
# @author Seth Chisamore <schisamo@opscode.com>
|
24
|
-
class Config < Vagrant.plugin(
|
25
|
-
|
25
|
+
class Config < Vagrant.plugin('2', :config)
|
26
26
|
# @return [String]
|
27
27
|
# The version of Chef to install.
|
28
28
|
attr_accessor :chef_version
|
29
29
|
|
30
30
|
def initialize
|
31
31
|
@chef_version = UNSET_VALUE
|
32
|
+
@logger = Log4r::Logger.new('vagrantplugins::omnibus::config')
|
32
33
|
end
|
33
34
|
|
34
35
|
def finalize!
|
@@ -44,31 +45,36 @@ module VagrantPlugins
|
|
44
45
|
errors = []
|
45
46
|
|
46
47
|
unless valid_chef_version?(chef_version)
|
47
|
-
msg =
|
48
|
-
|
48
|
+
msg = <<-EOH
|
49
|
+
'#{chef_version}' is not a valid version of Chef.
|
50
|
+
|
51
|
+
A list of valid versions can be found at: http://www.opscode.com/chef/install/
|
52
|
+
EOH
|
49
53
|
errors << msg
|
50
54
|
end
|
51
55
|
|
52
|
-
{
|
56
|
+
{ 'Omnibus Plugin' => errors }
|
53
57
|
end
|
54
58
|
|
55
59
|
private
|
56
60
|
|
57
61
|
# Query RubyGems.org's Ruby API and retrive the latest version of Chef.
|
58
62
|
def retrieve_latest_chef_version
|
59
|
-
available_gems =
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
63
|
+
available_gems =
|
64
|
+
dependency_installer.find_gems_with_sources(chef_gem_dependency)
|
65
|
+
spec, _source =
|
66
|
+
if available_gems.respond_to?(:last)
|
67
|
+
# DependencyInstaller sorts the results such that the last one is
|
68
|
+
# always the one it considers best.
|
69
|
+
spec_with_source = available_gems.last
|
70
|
+
spec_with_source
|
71
|
+
else
|
72
|
+
# Rubygems 2.0 returns a Gem::Available set, which is a
|
73
|
+
# collection of AvailableSet::Tuple structs
|
74
|
+
available_gems.pick_best!
|
75
|
+
best_gem = available_gems.set.first
|
76
|
+
best_gem && [best_gem.spec, best_gem.source]
|
77
|
+
end
|
72
78
|
|
73
79
|
spec && spec.version.to_s
|
74
80
|
end
|
@@ -78,9 +84,12 @@ module VagrantPlugins
|
|
78
84
|
def valid_chef_version?(version)
|
79
85
|
is_valid = false
|
80
86
|
begin
|
81
|
-
available = dependency_installer.find_gems_with_sources(
|
87
|
+
available = dependency_installer.find_gems_with_sources(
|
88
|
+
chef_gem_dependency(version)
|
89
|
+
)
|
82
90
|
is_valid = true unless available.empty?
|
83
|
-
rescue
|
91
|
+
rescue ArgumentError => e
|
92
|
+
@logger.debug("#{version} is not a valid Chef version: #{e}")
|
84
93
|
end
|
85
94
|
is_valid
|
86
95
|
end
|
@@ -89,7 +98,7 @@ module VagrantPlugins
|
|
89
98
|
@dependency_installer ||= Gem::DependencyInstaller.new
|
90
99
|
end
|
91
100
|
|
92
|
-
def chef_gem_dependency(version=nil)
|
101
|
+
def chef_gem_dependency(version = nil)
|
93
102
|
Gem::Dependency.new('chef', version)
|
94
103
|
end
|
95
104
|
end
|
@@ -16,36 +16,38 @@
|
|
16
16
|
|
17
17
|
# This is a sanity check to make sure no one is attempting to install
|
18
18
|
# this into an early Vagrant version.
|
19
|
-
if Vagrant::VERSION <
|
20
|
-
|
19
|
+
if Vagrant::VERSION < '1.1.0'
|
20
|
+
fail 'The Vagrant Omnibus plugin is only compatible with Vagrant 1.1+'
|
21
21
|
end
|
22
22
|
|
23
23
|
module VagrantPlugins
|
24
|
+
#
|
24
25
|
module Omnibus
|
25
26
|
# @author Seth Chisamore <schisamo@opscode.com>
|
26
|
-
class Plugin < Vagrant.plugin(
|
27
|
-
name
|
27
|
+
class Plugin < Vagrant.plugin('2')
|
28
|
+
name 'vagrant-omnibus'
|
28
29
|
description <<-DESC
|
29
30
|
This plugin ensures the desired version of Chef is installed
|
30
31
|
via the platform-specific Omnibus packages.
|
31
32
|
DESC
|
32
33
|
|
33
34
|
action_hook(:install_chef, Plugin::ALL_ACTIONS) do |hook|
|
34
|
-
require_relative
|
35
|
+
require_relative 'action/install_chef'
|
35
36
|
hook.after(Vagrant::Action::Builtin::Provision, Action::InstallChef)
|
36
37
|
|
37
|
-
# The AWS provider < v0.4.0 uses a non-standard Provision action
|
38
|
-
# creation:
|
38
|
+
# The AWS provider < v0.4.0 uses a non-standard Provision action
|
39
|
+
# on initial creation:
|
39
40
|
#
|
40
|
-
#
|
41
|
+
# mitchellh/vagrant-aws/blob/v0.3.0/lib/vagrant-aws/action.rb#L105
|
41
42
|
#
|
42
43
|
if defined? VagrantPlugins::AWS::Action::TimedProvision
|
43
|
-
hook.after(VagrantPlugins::AWS::Action::TimedProvision,
|
44
|
+
hook.after(VagrantPlugins::AWS::Action::TimedProvision,
|
45
|
+
Action::InstallChef)
|
44
46
|
end
|
45
47
|
end
|
46
48
|
|
47
49
|
config(:omnibus) do
|
48
|
-
require_relative
|
50
|
+
require_relative 'config'
|
49
51
|
Config
|
50
52
|
end
|
51
53
|
end
|
data/lib/vagrant-omnibus.rb
CHANGED
@@ -7,8 +7,8 @@ require 'vagrant-omnibus'
|
|
7
7
|
Vagrant.configure("2") do |config|
|
8
8
|
|
9
9
|
config.vm.define :new_chef do |new_chef_config|
|
10
|
-
new_chef_config.vm.box = "
|
11
|
-
new_chef_config.vm.box_url = "http://
|
10
|
+
new_chef_config.vm.box = "opscode-ubuntu-12.04"
|
11
|
+
new_chef_config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
|
12
12
|
|
13
13
|
new_chef_config.omnibus.chef_version = :latest
|
14
14
|
|
@@ -19,8 +19,8 @@ Vagrant.configure("2") do |config|
|
|
19
19
|
end
|
20
20
|
|
21
21
|
config.vm.define :old_chef do |old_chef_config|
|
22
|
-
old_chef_config.vm.box = "opscode-centos-6.
|
23
|
-
old_chef_config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.
|
22
|
+
old_chef_config.vm.box = "opscode-centos-6.5"
|
23
|
+
old_chef_config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box"
|
24
24
|
|
25
25
|
old_chef_config.omnibus.chef_version = '10.24.0'
|
26
26
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
name
|
2
|
-
maintainer
|
3
|
-
maintainer_email
|
4
|
-
license
|
5
|
-
description
|
1
|
+
name 'chef-inator'
|
2
|
+
maintainer 'Dr. Heinz Doofenshmirtz'
|
3
|
+
maintainer_email 'heinz@doofenshmirtz-evil-inc.com'
|
4
|
+
license 'All rights reserved'
|
5
|
+
description 'Uses Chef to take over the Tri-State Area!'
|
6
6
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
7
|
-
version
|
7
|
+
version '0.1.0'
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
Chef::Log.info
|
2
|
+
Chef::Log.info 'CURSE YOU...Perry the Platypus!!!!'
|
data/test/unit/spec_helper.rb
CHANGED
@@ -20,6 +20,6 @@ RSpec.configure do |config|
|
|
20
20
|
|
21
21
|
# specify metadata with symobls only (ie no '=> true' required)
|
22
22
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
23
|
-
config.filter_run :
|
23
|
+
config.filter_run focus: true
|
24
24
|
config.run_all_when_everything_filtered = true
|
25
25
|
end
|
@@ -7,7 +7,7 @@
|
|
7
7
|
require_relative '../spec_helper'
|
8
8
|
|
9
9
|
describe VagrantPlugins::Omnibus::Config do
|
10
|
-
let(:instance){ described_class.new }
|
10
|
+
let(:instance) { described_class.new }
|
11
11
|
|
12
12
|
subject(:config) do
|
13
13
|
instance.tap do |o|
|
@@ -16,50 +16,50 @@ describe VagrantPlugins::Omnibus::Config do
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
describe
|
20
|
-
its(:chef_version){ should be_nil }
|
19
|
+
describe 'defaults' do
|
20
|
+
its(:chef_version) { should be_nil }
|
21
21
|
end
|
22
22
|
|
23
|
-
describe
|
23
|
+
describe 'resolving `:latest` to a real Chef version' do
|
24
24
|
let(:chef_version) { :latest }
|
25
|
-
its(:chef_version){ should be_a(String) }
|
26
|
-
its(:chef_version){ should match(/\d*\.\d*\.\d*/) }
|
25
|
+
its(:chef_version) { should be_a(String) }
|
26
|
+
its(:chef_version) { should match(/\d*\.\d*\.\d*/) }
|
27
27
|
end
|
28
28
|
|
29
|
-
describe
|
29
|
+
describe '#validate' do
|
30
30
|
let(:machine) { double('machine') }
|
31
|
-
let(:error_hash_key) {
|
31
|
+
let(:error_hash_key) { 'Omnibus Plugin' }
|
32
32
|
let(:result) { subject.validate(machine) }
|
33
33
|
let(:errors) { result[error_hash_key] }
|
34
34
|
|
35
|
-
it
|
35
|
+
it 'returns a Hash with an `Omnibus Plugin` key' do
|
36
36
|
result.should be_a(Hash)
|
37
37
|
result.should have_key(error_hash_key)
|
38
38
|
end
|
39
39
|
|
40
|
-
describe
|
40
|
+
describe 'chef_version validation' do
|
41
41
|
{
|
42
|
-
|
43
|
-
:
|
44
|
-
:
|
42
|
+
'11.4.0' => {
|
43
|
+
description: 'valid Chef version string',
|
44
|
+
valid: true
|
45
45
|
},
|
46
|
-
|
47
|
-
:
|
48
|
-
:
|
46
|
+
'10.99.99' => {
|
47
|
+
description: 'invalid Chef version string',
|
48
|
+
valid: false
|
49
49
|
},
|
50
|
-
|
51
|
-
:
|
52
|
-
:
|
50
|
+
'FUFUFU' => {
|
51
|
+
description: 'invalid RubyGems version string',
|
52
|
+
valid: false
|
53
53
|
}
|
54
54
|
}.each_pair do |version_string, opts|
|
55
55
|
context "#{opts[:description]}: #{version_string}" do
|
56
56
|
let(:chef_version) { version_string }
|
57
57
|
if opts[:valid]
|
58
|
-
it
|
58
|
+
it 'passes' do
|
59
59
|
errors.should be_empty
|
60
60
|
end
|
61
61
|
else
|
62
|
-
it
|
62
|
+
it 'fails' do
|
63
63
|
errors.should_not be_empty
|
64
64
|
end
|
65
65
|
end
|
data/vagrant-omnibus.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-omnibus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rubocop
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.15.0
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.15.0
|
62
78
|
description: A Vagrant plugin that ensures the desired version of Chef is installed
|
63
79
|
via the platform-specific Omnibus packages.
|
64
80
|
email:
|
@@ -69,6 +85,7 @@ extra_rdoc_files: []
|
|
69
85
|
files:
|
70
86
|
- .gitignore
|
71
87
|
- .rspec
|
88
|
+
- .rubocop.yml
|
72
89
|
- .travis.yml
|
73
90
|
- .yardopts
|
74
91
|
- CHANGELOG.md
|
@@ -108,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
125
|
version: '0'
|
109
126
|
segments:
|
110
127
|
- 0
|
111
|
-
hash:
|
128
|
+
hash: 1025496382534469721
|
112
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
130
|
none: false
|
114
131
|
requirements:
|
@@ -117,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
134
|
version: '0'
|
118
135
|
segments:
|
119
136
|
- 0
|
120
|
-
hash:
|
137
|
+
hash: 1025496382534469721
|
121
138
|
requirements: []
|
122
139
|
rubyforge_project:
|
123
140
|
rubygems_version: 1.8.23
|