Project

General

Profile

« Previous | Next » 

Revision ab3d6fb4

Added by Daniel Lobato Garcia about 8 years ago

Fixes #11332 - DigitalOcean API v2 support

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
  • added
  • modified
  • copied
  • renamed
  • deleted