vagrant-memset 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +25 -16
- data/changelog.txt +7 -0
- data/lib/vagrant-memset/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f549f173b49848045705e63c0a632af914f195ff
|
4
|
+
data.tar.gz: 4f953aec141dd27fae60f06aec9e7e9857cdcd78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9ffcf7cfea827bcdbc8892656ea3fa596438347105a798386252ea8c6060d47ce6cc82297923974c894517703f7bfdc4089a83936659c634f887df2f52ebe4c
|
7
|
+
data.tar.gz: 19e41396e443047c0c08adebad6835a229d0379ef787ecac0c9de1e4506fdb04d87c62e74e79f42f719b0a31f55274fef8f4232df31313d62e0644b42f7bbfaf
|
data/LICENSE.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (C)
|
1
|
+
Copyright (C) 2014,2015 by Memset Ltd. http://www.memset.com/
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
4
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,28 +1,36 @@
|
|
1
|
-
## Vagrant Provider for Memset's Public Cloud
|
1
|
+
## Vagrant Provider for the Memset's Public Cloud
|
2
2
|
|
3
3
|
This plugin adds [Vagrant](http://www.vagrantup.com) compatibility for [Memset API](http://www.memset.com/apidocs/) including the following features:
|
4
4
|
|
5
5
|
* Create [cloud instances](http://www.memset.com/cloud/compute/)
|
6
|
-
* Cancel instances
|
7
|
-
* Authentication via SSH
|
6
|
+
* Cancel instances
|
7
|
+
* Authentication via SSH
|
8
8
|
* Support for sync folders
|
9
|
-
* Provisioning built-in vagrant provisioners
|
9
|
+
* Provisioning via built-in vagrant provisioners
|
10
|
+
|
11
|
+
This plugin is based on existing Provider plugins.
|
10
12
|
|
11
13
|
## Installation
|
12
14
|
|
15
|
+
* Download and install [Vagrant](https://www.vagrantup.com/downloads.html)
|
16
|
+
```
|
17
|
+
vagrant plugin install vagrant-memset
|
18
|
+
|
19
|
+
vagrant up --provider=memset
|
20
|
+
```
|
21
|
+
Installing vagrant-memset requires "make" package to be installed.
|
13
22
|
|
14
23
|
## Configuration
|
15
24
|
|
16
25
|
Parameters supported by Vagrant Memset Provider:
|
17
26
|
|
18
|
-
* `api_key` (String) - API key for accessing Memset. It requires access server.info, create.hourly_minisever,job.status
|
27
|
+
* `api_key` (String) - API key for accessing Memset. It requires access server.info, create.hourly_minisever, job.status and service.cancel methods.
|
19
28
|
* `sku` - The SKU of the service to be provisioned.
|
20
|
-
* `os` (String) - The Operating System
|
21
|
-
* `
|
22
|
-
* `vlan` (String) - Vlan name to join in when the server is created.
|
29
|
+
* `os` (String) - The Operating System only Linux.
|
30
|
+
* `vlan` (String) - VLAN name to join in when the server is created.
|
23
31
|
* `dry_run` - If True, then the service is not provisioned but the information is still returned.
|
24
32
|
|
25
|
-
This plugin implements [create.hourly_miniserver()](http://www.memset.com/apidocs/methods_create.html#create.hourly_miniserver) method from the Memset API. Please visit the link for detailed list of accepted values for each "sku" and "os" parameters.
|
33
|
+
This plugin implements [create.hourly_miniserver()](http://www.memset.com/apidocs/methods_create.html#create.hourly_miniserver) method from the Memset API. Please visit the link for a detailed list of accepted values for each "sku" and "os" parameters.
|
26
34
|
|
27
35
|
Vagrant file example:
|
28
36
|
```
|
@@ -35,27 +43,28 @@ Vagrant.configure("2") do |config|
|
|
35
43
|
mem.api_key = "apikeystring"
|
36
44
|
mem.sku = "MS0025"
|
37
45
|
mem.os = "debian_wheezy_64"
|
38
|
-
mem.vlan = "
|
39
|
-
mem.discount_code = "asdfaspu"
|
46
|
+
mem.vlan = "example-vlan1"
|
40
47
|
end
|
41
48
|
end
|
42
49
|
```
|
43
50
|
## SSH configuration
|
44
51
|
|
45
|
-
Memset Provider will automatically install
|
52
|
+
Memset Provider will automatically install an SSH public key onto the new server if "ssh.private_key_path" is provided. It will be assumed the public key is the same value as "ssh.private_key_path" with ".pub" extension at the end of it.
|
46
53
|
Config line example:
|
47
54
|
```
|
48
55
|
config.ssh.private_key_path = "~/ssh-keys/vagrant"
|
49
56
|
```
|
50
|
-
The
|
57
|
+
The SSH public key "~/ssh-keys/vagrant.pub" will be installed in the new instance.
|
58
|
+
|
51
59
|
## Sync folders
|
52
60
|
|
53
|
-
Memset
|
61
|
+
Memset plugin offers a minimal support for sync folders. It requires sudo package to be installed so distributions where this is not shipped by default will need manual install before running the "vagrant provision" command.
|
54
62
|
Config line example:
|
55
63
|
```
|
56
64
|
config.vm.synced_folder "./provision", "/memset/vagrant-provision"
|
57
65
|
```
|
58
|
-
## Contributing
|
66
|
+
## Contributing and bugs
|
59
67
|
|
60
|
-
Please
|
68
|
+
Please create a pull [request](https://github.com/javiee/vagrant-memset/pulls).
|
69
|
+
For support email to javier@memset.com.
|
61
70
|
|
data/changelog.txt
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-memset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Caro Ruiz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|