This is based on the `info_installed` function in the `zypper` module
in that it accepts an optional extra `attr` kwarg.
One extra feature it has is that it will return information on all
packages if no `names` are specified.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Example profile:
network:
Network Adapter 1:
mac: '00:16:3e:e8:19:0f'
name: vlan25
switch_type: standard
This takes effect as soon as the VM is initialized, so PXE-booting can
take advantage of this.
This test connects to random.org, which may throws the following error
on one network I manage:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Other errors are possible, such as `socket.error`. Since it is
difficult to anticipate the failure mode, skip these tests if https
communication provokes any exception.
Also, this is not a unit test--it's more of a system test. My
recommendation that we recategorize this as an integration test where
global IPv4 routing can more reasonably expected.
The `describe_parameters` function in the boto_rds execution module was
using inconsistent return data depending on where in the function the
return was generated. There were also inappropriate uses of `bool` that
resulted in incorrect return values.
The `parameter_present` state was also incorrectly accessing invalid
keys in the return data from `describe_parameters`. Updated to properly
use the data returned to check for existence of parameters.
When a hardware value is retrieved via the smbios module, this is
already done. Add hardware value cleaning to all other methods of
retrieving the hardware values.
When the hardware value is not clean, `None` is returned for the
hardware value.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Add skipIf pyvmomi is not installed
NameError: global name 'vmodl' is not defined
NameError: global name 'vim' is not defined
Fix skipIf typo for OpenBSD
>>> import sys
>>> sys.platform
'openbsd6'
Avoid warning from glusterfs.py:
Use specific 'len(elem)' or 'elem is not None' test
Enable boto_secgroup_test tests that work now:
test skipped due to error in moto return - fixed in
cc01669643
* Remove known issues section for rc2
All of these have been fixed in the latest rc
* Add smartOS RC build instructions back to RC docs
And update the links to the new packages
The current implementation will return an invalid response if the
requested parameter group is not present. Added a check for the
parameter group not found error case and set the exists value in the
return to False.