Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garethr/garethr-digitalocean
Puppet module to manage droplets on digitalocean IaaS
https://github.com/garethr/garethr-digitalocean
Last synced: 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T17:18:53.000Z (over 8 years ago)
- Last Synced: 2024-10-04T19:07:57.534Z (3 months ago)
- Language: Ruby
- Size: 52.7 KB
- Stars: 7
- Watchers: 3
- 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).[![Puppet
Forge](http://img.shields.io/puppetforge/v/garethr/digitalocean.svg)](https://forge.puppetlabs.com/garethr/digitalocean) [![Build
Status](https://secure.travis-ci.org/garethr/garethr-digitalocean.png)](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`.