Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 436 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 436 Bytes

chef-provisioning-digitalocean

Provisioner for creating Digital Ocean droplets in Chef Provisioning.

Example

require 'chef/provisioning/digitalocean_driver'

with_driver 'digitalocean', { access_token: ENV['DIGITALOCEAN_ACCESS_TOKEN'] }

with_machine_options({
  bootstrap_options: {
    region: 'sfo1',
    size: '512mb',
    image: 'ubuntu-14-04-x64',
    ssh_keys: ['digitalocean']
  }
})

machine 'my_droplet'