vagrant-digitalocean 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e17b764d029348ee89a00969e33b22fff71bf4cf08fb829fb5e649f20b4f291a
4
- data.tar.gz: caaca041e0494498f9237a4a1ad9c4971d83ff2993d909eae39c242ad30406c3
3
+ metadata.gz: 2256b8848a1c2d8998a43c121324daa24db655ea78c4751f550ac5438c01bd1a
4
+ data.tar.gz: e3a1351bd7900ebb3d6ef3146738518c5cd79aad7cf5df02d668e6cd131b67d2
5
5
  SHA512:
6
- metadata.gz: 17502e2d8061a2d5f064e96a695c9bd82fedfe31d5e8f84f2dfe3125f2536d95f96738f1e20950e080d8e655ed44c9848e870c8b47cf00e06ba9d8879ae849ed
7
- data.tar.gz: 4719fe9e123b9af8e94c18f7d78319dc61fc7278a186ff7c76eda6df075d4613578056c9fe8945b10e07d3843b9742ff3d3e73070b09f2b1217985daac5a3198
6
+ metadata.gz: 7d96c6878278413f1293825be65c51edd83c627626613540afd80e485107ca6f9e57a210a796e86ca3c223dbb37479697511e3be753a56cbb9fc42edc69eb4ad
7
+ data.tar.gz: 6d3d15d5e42d59f31bfc8556306b01ce691c8822278f2f43a9f8a45201cf7cb165ac32991e61180bd2749e17cfb8a748560000c7610bae4f8b263eb73ccde895
data/README.md CHANGED
@@ -26,7 +26,7 @@ Install the provider plugin using the Vagrant command-line interface:
26
26
 
27
27
  Configure
28
28
  ---------
29
- Once the provider has been installed, you will need to configure your project to use it. See the following example for a basic multi-machine `Vagrantfile` implementation that manages two DigitalOcean Droplets:
29
+ Once the provider has been installed, you will need to configure your project to use it. See the following example for a basic multi-machine `Vagrantfile` implementation that manages two DigitalOcean Droplets running Ubuntu 18.04 using a single CPU Droplet with 1GB of memory:
30
30
 
31
31
  ```ruby
32
32
  Vagrant.configure('2') do |config|
@@ -37,23 +37,34 @@ Vagrant.configure('2') do |config|
37
37
  override.vm.box = 'digital_ocean'
38
38
  override.vm.box_url = "https://github.com/devopsgroup-io/vagrant-digitalocean/raw/master/box/digital_ocean.box"
39
39
  override.nfs.functional = false
40
+ override.vm.allowed_synced_folder_types = :rsync
40
41
  provider.token = 'YOUR TOKEN'
41
- provider.image = 'ubuntu-14-04-x64'
42
+ provider.image = 'ubuntu-18-04-x64'
42
43
  provider.region = 'nyc1'
43
- provider.size = '512mb'
44
+ provider.size = 's-1vcpu-1gb'
45
+ provider.backups_enabled = false
46
+ provider.private_networking = false
47
+ provider.ipv6 = false
48
+ provider.monitoring = false
44
49
  end
45
50
  end
46
51
 
47
52
  config.vm.define "droplet2" do |config|
53
+
48
54
  config.vm.provider :digital_ocean do |provider, override|
49
55
  override.ssh.private_key_path = '~/.ssh/id_rsa'
50
56
  override.vm.box = 'digital_ocean'
51
57
  override.vm.box_url = "https://github.com/devopsgroup-io/vagrant-digitalocean/raw/master/box/digital_ocean.box"
52
58
  override.nfs.functional = false
59
+ override.vm.allowed_synced_folder_types = :rsync
53
60
  provider.token = 'YOUR TOKEN'
54
- provider.image = 'ubuntu-14-04-x64'
61
+ provider.image = 'ubuntu-18-04-x64'
55
62
  provider.region = 'nyc3'
56
- provider.size = '1gb'
63
+ provider.size = 's-1vcpu-1gb'
64
+ provider.backups_enabled = false
65
+ provider.private_networking = false
66
+ provider.ipv6 = false
67
+ provider.monitoring = false
57
68
  end
58
69
  end
59
70
 
@@ -68,14 +79,14 @@ end
68
79
 
69
80
  The following attributes are available to further configure the provider:
70
81
  - `provider.image`
71
- * A string representing the image to use when creating a new Droplet. It defaults to `ubuntu-14-04-x64`.
82
+ * A string representing the image to use when creating a new Droplet. It defaults to `ubuntu-18-04-x64`.
72
83
  List available images with the `vagrant digitalocean-list images $DIGITAL_OCEAN_TOKEN` command. Like when using the DigitalOcean API directly, [it can be an image ID or slug](https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet).
73
84
  - `provider.ipv6`
74
85
  * A boolean flag indicating whether to enable IPv6
75
86
  - `provider.region`
76
87
  * A string representing the region to create the new Droplet in. It defaults to `nyc2`. List available regions with the `vagrant digitalocean-list regions $DIGITAL_OCEAN_TOKEN` command.
77
88
  - `provider.size`
78
- * A string representing the size to use when creating a new Droplet (e.g. `1gb`). It defaults to `512mb`. List available sizes with the `vagrant digitalocean-list sizes $DIGITAL_OCEAN_TOKEN` command.
89
+ * A string representing the size to use when creating a new Droplet (e.g. `s-1vcpu-1gb`). It defaults to `s-1vcpu-1gb`. List available sizes with the `vagrant digitalocean-list sizes $DIGITAL_OCEAN_TOKEN` command.
79
90
  - `provider.private_networking`
80
91
  * A boolean flag indicating whether to enable a private network interface (if the region supports private networking). It defaults to `false`.
81
92
  - `provider.backups_enabled`
@@ -124,6 +135,7 @@ This [DigitalOcean API](https://developers.digitalocean.com/documentation/change
124
135
 
125
136
  Date Tested | Vagrant Version | vagrant-digitalocean Version | Host (Workstation) Operating System | Guest (DigitalOcean) Operating System
126
137
  ------------|-----------------|------------------------------|-----------------------|--------------------------------------
138
+ 03/12/2020 | 2.2.7 | 0.9.4 | OS X 10.14.6 | Ubuntu 18.04, Debian 10, Debian 9, Debian 8, CentOS 7
127
139
  03/22/2016 | 1.8.1 | 0.7.10 | OS X 10.11.4 | CentOS 7.0
128
140
  04/03/2013 | 1.1.5 | 0.1.0 | Ubuntu 12.04 | CentOS 6.3
129
141
 
@@ -37,9 +37,9 @@ module VagrantPlugins
37
37
 
38
38
  def finalize!
39
39
  @token = ENV['DO_TOKEN'] if @token == UNSET_VALUE
40
- @image = 'ubuntu-14-04-x64' if @image == UNSET_VALUE
40
+ @image = 'ubuntu-18-04-x64' if @image == UNSET_VALUE
41
41
  @region = 'nyc2' if @region == UNSET_VALUE
42
- @size = '512mb' if @size == UNSET_VALUE
42
+ @size = 's-1vcpu-1gb' if @size == UNSET_VALUE
43
43
  @private_networking = false if @private_networking == UNSET_VALUE
44
44
  @ipv6 = false if @ipv6 == UNSET_VALUE
45
45
  @backups_enabled = false if @backups_enabled == UNSET_VALUE
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module DigitalOcean
3
- VERSION = '0.9.4'
3
+ VERSION = '0.9.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Bender
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-11 00:00:00.000000000 Z
12
+ date: 2020-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubygems_version: 3.0.4
120
+ rubygems_version: 3.0.6
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Enables Vagrant to manage DigitalOcean droplets