kitchen-wpar 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e0233ac43573699543e48d649035f5ea153d90d
4
- data.tar.gz: eddc62479f83d58ce5f14dc6eb2b06f35fb7ffc2
3
+ metadata.gz: b3ad071715450bc096dc68a21b9b5fcc4ba1c9d0
4
+ data.tar.gz: 79e4b897ab3f506fe9cb5ec70ace102988fae43d
5
5
  SHA512:
6
- metadata.gz: 33071aa96867e62f3f54c0982a7d202ade59f421fa00487c124703604b4ed93343a0d6a6064628a0e2d08a7e64e3926b621dba9fffab4f635fe6a137484694ce
7
- data.tar.gz: 7c2dff031be297cac01ccaf67fc2e3b8a85653ead8026c6aa0b502fae2c8b67dd4f7b72a700a52ed621cee1804e366bc12e2f9996938b8eaff48ce7f4f1d6b40
6
+ metadata.gz: a432d3e0af367011aa557a1f3b83bfe3ec84f57b189a8ecc4c585fbe02ff0b7612b4dbd128fa5adcd77f4b0e934ae6e77ce2c9f84a0976ad9ee001096c8f6893
7
+ data.tar.gz: 5d0bec66bfae8afd1273c954359ed6f1613f525b4231ece1c1743008802688eab6f5add31825f4f601d391a3c421403466f965b9ccd3f02c244b88227787aa18
data/README.md CHANGED
@@ -24,6 +24,7 @@ Please read the [Driver usage][driver_usage] page for more details.
24
24
  * **wpar_copy_rootvg** adds the option ' -t' to copy rootvg file systems.
25
25
  * **isVersioned** create a versioned wpar. Used only with **wpar_mksysb**.
26
26
  * **isWritable** adds the option ' -l' to have a non-shared, writable /usr file system and /opt file system.
27
+ * **share_network_resolution** adds the option ' -r' to share name resolution services (i.e. `/etc/resolv.conf`) with the wpar.
27
28
 
28
29
 
29
30
  ### <a name="config-require-chef-omnibus"></a> require\_chef\_omnibus
@@ -43,6 +43,7 @@ module Kitchen
43
43
  default_config :aix_user, 'root'
44
44
  default_config :isWritable, false
45
45
  default_config :isVersioned, false
46
+ default_config :share_network_resolution, true
46
47
  default_config :echo, '/bin/echo'
47
48
  default_config :clogin, '/usr/sbin/clogin'
48
49
  default_config :lssrc, '/usr/bin/lssrc'
@@ -89,6 +90,10 @@ module Kitchen
89
90
  cmd += " -N address=#{config[:wpar_address]}"
90
91
  end
91
92
 
93
+ if config[:share_network_resolution]
94
+ cmd += " -r"
95
+ end
96
+
92
97
  unless config[:wpar_vg].nil?
93
98
  cmd += " -g #{config[:wpar_vg]}"
94
99
  end
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for Wpar Kitchen driver
24
- WPAR_VERSION = "0.4.0"
24
+ WPAR_VERSION = "0.4.1"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-wpar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Dejoux