HewlettPackard / oneview-puppet

This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Terraform and Ansible Collection
https://forge.puppet.com/hewlettpackard/oneview
Apache License 2.0
8 stars 17 forks source link

Transfer idempotency verifications to the SDK #66

Closed fgbulsoni closed 3 years ago

fgbulsoni commented 7 years ago

Scenario/Intent

Use the SDK like method instead of custom find_bys for ensuring idempotency on resources

Environment Details

Puppet module for HPE OneView Version: 2.0.0 OneView SDK Version: 3.1.0 OneView Appliance Version: 3.0 OneView Client API Version: 300 Puppet Version: 4.8 Ruby Version: 2.2.6 Platform: Windows

Steps to Reproduce

Run any exists?

Expected Result

Use a standard like method instead of custom find_bys

Actual Result

Currently there are several different find_bys being used, some use unique_id, some use the whole @data, others are completely ignored.

VenkateshRavula commented 4 years ago

Refer this PR to start with. https://github.com/HewlettPackard/oneview-puppet/pull/138

VenkateshRavula commented 3 years ago

This SDK has limited support and will not be actively developed for the foreseeable future.