kitchen-wpar 0.4.0 → 0.4.1
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 -0
- data/lib/kitchen/driver/wpar.rb +5 -0
- data/lib/kitchen/driver/wpar_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3ad071715450bc096dc68a21b9b5fcc4ba1c9d0
|
4
|
+
data.tar.gz: 79e4b897ab3f506fe9cb5ec70ace102988fae43d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/kitchen/driver/wpar.rb
CHANGED
@@ -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
|