vagrant-omnibus 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 1.2.1 (December 17, 2013)
2
+
3
+ IMPROVEMENTS:
4
+
5
+ * Acceptance test coverage that verifies Chef is not reinstalled into a system where the desired version of Chef already exists.
6
+
7
+ BUG FIXES:
8
+
9
+ * PR [#57][]: Filter `stdin is not a tty` when querying installed Chef version. ([@scalp42][])
10
+
1
11
  ## 1.2.0 (December 17, 2013)
2
12
 
3
13
  FEATURES:
@@ -8,6 +18,7 @@ IMPROVEMENTS:
8
18
 
9
19
  * PR [#48][]: Don't install Chef if `--no-provision` is specified. ([@tmatilai][])
10
20
  * PR [#50][]: Update README.md with vagrant-parallels compatibility. ([@wizonesolutions][])
21
+ * PR [#56][]: Add Rubocop support.
11
22
 
12
23
  BUG FIXES:
13
24
 
@@ -108,11 +119,14 @@ BUG FIXES:
108
119
  [#50]: https://github.com/schisamo/vagrant-omnibus/issues/50
109
120
  [#52]: https://github.com/schisamo/vagrant-omnibus/issues/52
110
121
  [#53]: https://github.com/schisamo/vagrant-omnibus/issues/53
122
+ [#56]: https://github.com/schisamo/vagrant-omnibus/issues/56
123
+ [#57]: https://github.com/schisamo/vagrant-omnibus/issues/57
111
124
  [@comutt]: https://github.com/comutt
112
125
  [@matsu911]: https://github.com/matsu911
113
126
  [@michfield]: https://github.com/michfield
114
127
  [@petecheslock]: https://github.com/petecheslock
115
128
  [@rjocoleman]: https://github.com/rjocoleman
129
+ [@scalp42]: https://github.com/scalp42
116
130
  [@schisamo]: https://github.com/schisamo
117
131
  [@smdahlen]: https://github.com/smdahlen
118
132
  [@srenatus]: https://github.com/srenatus
@@ -78,8 +78,11 @@ module VagrantPlugins
78
78
  version = nil
79
79
  command = 'echo $(chef-solo -v)'
80
80
  @machine.communicate.sudo(command) do |type, data|
81
- v = data.chomp if [:stderr, :stdout].include?(type)
82
- version ||= v.split[1] unless v.empty?
81
+ if [:stderr, :stdout].include?(type)
82
+ next if data =~ /stdin: is not a tty/
83
+ v = data.chomp
84
+ version ||= v.split[1] unless v.empty?
85
+ end
83
86
  end
84
87
  version
85
88
  end
@@ -17,6 +17,6 @@
17
17
  module VagrantPlugins
18
18
  #
19
19
  module Omnibus
20
- VERSION = '1.2.0'
20
+ VERSION = '1.2.1'
21
21
  end
22
22
  end
@@ -29,4 +29,16 @@ Vagrant.configure("2") do |config|
29
29
  chef.add_recipe "chef-inator"
30
30
  end
31
31
  end
32
+
33
+ config.vm.define :chef_already_installed do |installed_config|
34
+ installed_config.vm.box = 'opscode-ubuntu-12.04-chef-11.4.4'
35
+ installed_config.vm.box_url = 'https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-11.4.4.box'
36
+
37
+ installed_config.omnibus.chef_version = '11.4.4'
38
+
39
+ installed_config.vm.provision :chef_solo do |chef|
40
+ chef.cookbooks_path = File.expand_path("../../../support/cookbooks", __FILE__)
41
+ chef.add_recipe "chef-inator"
42
+ end
43
+ end
32
44
  end
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.2.0
4
+ version: 1.2.1
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-17 00:00:00.000000000 Z
12
+ date: 2013-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: 1025496382534469721
128
+ hash: -2839676175019097960
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  none: false
131
131
  requirements:
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  segments:
136
136
  - 0
137
- hash: 1025496382534469721
137
+ hash: -2839676175019097960
138
138
  requirements: []
139
139
  rubyforge_project:
140
140
  rubygems_version: 1.8.23