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 +4 -4
- data/README.md +1 -1
- data/lib/vagrant-ohai/helpers.rb +2 -1
- data/lib/vagrant-ohai/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3932d09503b417f318d348c6e88413c5935a117
|
4
|
+
data.tar.gz: 64225a6638bf7d80efd1cd126f8e19e78d0450e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|
data/lib/vagrant-ohai/helpers.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/vagrant-ohai/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|