https://github.com/garethr/garethr-digitalocean
Puppet module to manage droplets on digitalocean IaaS
https://github.com/garethr/garethr-digitalocean
Last synced: about 2 months ago
JSON representation
Puppet module to manage droplets on digitalocean IaaS
- Host: GitHub
- URL: https://github.com/garethr/garethr-digitalocean
- Owner: garethr
- License: apache-2.0
- Created: 2014-08-11T15:06:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T17:18:53.000Z (about 9 years ago)
- Last Synced: 2025-05-02T05:49:31.643Z (2 months ago)
- Language: Ruby
- Size: 52.7 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
Puppet module for managing droplets on
[DigitalOcean](https://www.digitalocean.com/?refcode=69ef0beac642).Under the hood this module uses [Barge](https://github.com/boats/barge)
and the [V2 API](https://developers.digitalocean.com/v2). This module is also available on the [Puppet
Forge](https://forge.puppetlabs.com/garethr/digitalocean).[](https://forge.puppetlabs.com/garethr/digitalocean) [](http://travis-ci.org/garethr/garethr-digitalocean)## Usage
The module includes a single type and provider which can be used to
create droplets.```puppet
droplet { ['test-digitalocean', 'test-digitalocean-1']:
ensure => present,
region => 'lon1',
size => '512mb',
image => 5141286,
}
```The full current list of parameters is:
```puppet
droplet { ['test-digitalocean', 'test-digitalocean-1']:
ensure => present,
region => 'lon1',
size => '512mb',
image => 5141286,
ssh_keys => [12345], # note this is an array
backups => false,
ipv6 => false,
private_networking => false,
}
```Note that for this to work you will need an access token for the V2 API
and to put that in an environment variable like so:```bash
export DIGITALOCEAN_ACCESS_TOKEN=yourtokenhere
```## Limitations
Currently the module only manages the `droplet` resource, with some
limited experimental suport for `domains`.