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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db6184595639b1974e6415f96dd8d4987037d11d
4
- data.tar.gz: b2fe8095ccc1845d2a20247bf6bf7cff5c9794bc
3
+ metadata.gz: f549f173b49848045705e63c0a632af914f195ff
4
+ data.tar.gz: 4f953aec141dd27fae60f06aec9e7e9857cdcd78
5
5
  SHA512:
6
- metadata.gz: 44d88ac2c58c17002398c5c9a4ee824fa7de63b5bb7b2fcd21a531874a353220d2643793838d9bf8a04837655ab83f032e86d5caeaf4992f4d1527b398dbf448
7
- data.tar.gz: 7bb2bf01599f3bb7264ec689408213423ce2f71b5b8f4e9c4511ad6777fe2185d73cb9ecc46be75e2639fc0fc3d6a322b6fda63e16f04984399dca3f3366af93
6
+ metadata.gz: e9ffcf7cfea827bcdbc8892656ea3fa596438347105a798386252ea8c6060d47ce6cc82297923974c894517703f7bfdc4089a83936659c634f887df2f52ebe4c
7
+ data.tar.gz: 19e41396e443047c0c08adebad6835a229d0379ef787ecac0c9de1e4506fdb04d87c62e74e79f42f719b0a31f55274fef8f4232df31313d62e0644b42f7bbfaf
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2011-2014 by Memset Ltd. http://www.memset.com/
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,service.cancel methods.
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. Only linux.
21
- * `discount_code` (String) - Promotional discount.
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 = "caroraa-vlan1"
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 a 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.
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 plugin will install in the server public key located in "~/ssh-keys/vagrant.pub"
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 plugins offer minimal supports for sync folders. It requires sudo package installed so distributions where this is not shipped by default will need manual install before running "vagrant provision" command.
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 send bugs to javier@memset.com
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
@@ -1,3 +1,10 @@
1
1
  VERSION 14/10/2014
2
2
 
3
3
  * First public release
4
+
5
+ VERSION 03/02/2015
6
+
7
+ * Copyright year
8
+ * Vagrant file example updated
9
+ * Spelling corrected
10
+
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Memset
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
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.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: 2014-10-22 00:00:00.000000000 Z
11
+ date: 2015-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler