This should allow provisioning using API v2. It relies on Fog 1.36 at least to work, so 1.10 and older versions of Foreman will not work with this plugin unfortunately.
The plugin now:
Uses slug instead of id for image, region and flavor (size)
Uses .delete instead of .destroy to destroy the droplet on DO
Just requests the API key when creating the compute resource, not the client_id
Has a few simple tests for the compute resource & enhances the Jenkins task
Related issues
Bug #11332: Version 1 of the API is deprecated and will be shutdown on November 1st 2015
Fixes #11332 - DigitalOcean API v2 support
This should allow provisioning using API v2. It relies on Fog 1.36 at
The plugin now:least to work, so 1.10 and older versions of Foreman will not work with
this plugin unfortunately.
client_id
task