vagrant-ohai 0.1.11 → 0.1.12

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: fb3cfd0aefad2ca148002f4b99c72b743a3ba17b
4
- data.tar.gz: 1938b1f89dd17f9c32eb40637286bf8b7739a031
3
+ metadata.gz: a3932d09503b417f318d348c6e88413c5935a117
4
+ data.tar.gz: 64225a6638bf7d80efd1cd126f8e19e78d0450e1
5
5
  SHA512:
6
- metadata.gz: 99f6474e31adb38556212b6bb45000603074de176a86fcf1c9e4e2dc6ba0c6a7bd8280a3415bf890df99fc5ceab199fd5df2452298f472e70dbc2bd68e6080c0
7
- data.tar.gz: 2d5f99b563d30489781b3a3eb050d63b388c7c0ae440b5427a7e5bbab0cbd223b6aac079acc97cd72afceb3507e99c6de1baebcadc23f213093345621358067b
6
+ metadata.gz: 3e29c9e0abb9346e6cb31fd678b787575d4683f442de2f99bc6f3548782bac692bc499a1da07bf47021b9311661dafabf49b645d818bc737e422f5b99c5abbc3
7
+ data.tar.gz: 8fe4fe67f71fc709800cf2bd3177e932280c04e2e30912b423cfb716b8f1e29127d8da3135e6172df0f4c692c044cce9968a2b97728ea04e0784eb04aed7c628
data/README.md CHANGED
@@ -10,7 +10,7 @@ In particular, the ipaddress is set to the private network defined in vagrant, i
10
10
 
11
11
  ## Usage
12
12
 
13
- The plugin will automatcially activate when using the `:chef_solo` or `:chef_client` provisioners. If you want to disable it, put `config.ohai.enable = false` in your Vagrantfile.
13
+ The plugin will automatcially activate when using the `:chef_solo`, `:chef_zero`, `:chef_apply` or `:chef_client` provisioners. If you want to disable it, put `config.ohai.enable = false` in your Vagrantfile.
14
14
  If you wish to use a primary nic which is not a private network, e.g. when using a bridge, set the `primary_nic` option:
15
15
 
16
16
  config.ohai.primary_nic = "eth1"
@@ -4,7 +4,8 @@ module VagrantPlugins
4
4
  module Helpers
5
5
  def chef_provisioners
6
6
  @machine.config.vm.provisioners.find_all do |provisioner|
7
- [:shell, :chef_client, :chef_solo, :chef_zero, :chef_apply].include? provisioner.name
7
+ provisioner_name = provisioner.respond_to?('type') ? provisioner.type : provisioner.name
8
+ [:shell, :chef_client, :chef_solo, :chef_zero, :chef_apply].include? provisioner_name
8
9
  end
9
10
  end
10
11
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ohai
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-ohai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avishai Ish-Shalom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-21 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.4.5
84
+ rubygems_version: 2.4.6
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Vagrant plugin which installs an Ohai plugn to properly detect private ipaddress