Now the cookbook can operate with all the supported OneView 2.0 resources. It adds also some bug fixes and minor improvements.
This adds new resources, shared features and bug fixes. Also upgrades the Ruby SDK version to ~> 2.1. See the CHANGELOG for more details.
This is basically the same initial version as before, but now as Ruby SDK released a new gem with some breaking changes, we are fixing the cookbook to use version 1.0.0
of the Ruby SDK.
If desired, the version can be changed in the /attributes/default.rb
, but doing this may result in failures in some actions for some resources.
In the future, there will be individual Chef resources for each OneView resource.
However, at this beta stage, only a subset of specific resources and a generic oneview_resource
are available.
(The generic one will continue to exist, so don't worry about having to rewrite everything when additional resources are added.)
With the generic model, you may find that particular resources don't support certain actions or have slightly different behaviors.
Here are some known specifics for different resource types:
- Since the script is at a separate API endpoint, we can't set that here.
- Fails when action is
:create
andconnectionTemplateUri
is set tonil
(because OV sets it). Leave it out instead of setting it tonil
.
- Fails when action is
:create
andconnectionTemplateUri
is set tonil
(because OV sets it). Leave it out instead of setting it tonil
.
- Requires Chef
name
parameter to be set to the hostname/IP in order to work. - Updates won't work because the resource doesn't support it. Use
:create_if_missing
action only