windows_chef_zero 0.1.1 → 1.0.0

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: da29d30b0ccaafd80ef12bfb8cc4e5c298432d53
4
- data.tar.gz: 8120e7dcea815bf4fa6c010697c1e714ab1e65a2
3
+ metadata.gz: 4666dd1d2ea774b19ba452bed9f93a19fa80179a
4
+ data.tar.gz: f0296afe4f2dbfa51b53c574cd5f2841ace837fe
5
5
  SHA512:
6
- metadata.gz: f00ac634b8a9d0ae53133c148735608ec1a75b4f67b6eed3e74de42a313885abc146ff39a1727f23d80fe68e8d43035c980a05351abf7954b57afba1b52eb443
7
- data.tar.gz: cdb08cf20c6af5d0d5ff9a0a656196759493f6cd17479e1ffb9c43ad2098290f2cdc3f9ad775786bcbfe3be36816780aafe791ed9109998a9f37635bb4961e49
6
+ metadata.gz: 4477b598fcd9b7348f7f100bdafe1a5a2197d39d2cd22bbf876abe04a77449108b99f45bc14e254b29fdf3fa60059b650de236c845c392511d5d65889c5322c8
7
+ data.tar.gz: 9eb12329f03af3ea4c488af4c615249e830dbe7e0c260f13a70f4903770e2e46c4e43e3f8bee6474f01d48860842fbf47b15d29a6687c7cabd90f0960897fee3
data/README.md CHANGED
@@ -16,15 +16,21 @@ gem "windows_chef_zero"
16
16
 
17
17
  ```
18
18
  platforms:
19
- name: windows_2012_r2
20
- driver:
21
- box: windows_2012_r2
22
- customize:
23
- memory: 2048
24
- provisioner:
25
- name: windows_chef_zero
19
+ - name: windows_2012_r2
20
+ driver:
21
+ box: windows_2012_r2
22
+ customize:
23
+ memory: 2048
24
+ http_proxy: null
25
+ https_proxy: null
26
+ provisioner:
27
+ name: windows_chef_zero
26
28
  ```
27
29
 
30
+ ## Notes:
31
+
32
+ - This provisioner cannot work in conjunction with driver `http_proxy` or `https_proxy`
33
+
28
34
  ## Contributing
29
35
 
30
36
  1. Fork it ( https://github.com/portertech/windows_chef_zero/fork )
@@ -13,6 +13,12 @@ module Kitchen
13
13
  default_config :require_chef_omnibus, false
14
14
  default_config :windows_root_path, 'C:\Windows\Temp\kitchen'
15
15
  default_config :windows_chef_bindir, 'C:\opscode\chef\bin'
16
+ default_config :disabled_ohai_plugins, %w[
17
+ azure c cloud ec2 rackspace eucalyptus command dmi dmi_common
18
+ erlang gce groovy ip_scopes java keys lua linode mono network_listeners
19
+ nodejs openstack passwd perl php python ssh_host_key uptime virtualization
20
+ windows::virtualization windows::kernel_devices
21
+ ]
16
22
 
17
23
  def create_sandbox
18
24
  super
@@ -47,6 +53,7 @@ module Kitchen
47
53
  :client_key => "#{root}\\client.pem",
48
54
  :chef_server_url => "http://127.0.0.1:8889",
49
55
  :encrypted_data_bag_secret => "#{root}\\encrypted_data_bag_secret",
56
+ "Ohai::Config::disabled_plugins =" => config[:disabled_ohai_plugins]
50
57
  }
51
58
  end
52
59
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "windows_chef_zero"
5
- spec.version = "0.1.1"
5
+ spec.version = "1.0.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "A Test-Kitchen Chef Zero provisioner for Windows"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows_chef_zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter