vagrant-arubacloud 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,16 +10,15 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ['Aruba S.p.A.']
11
11
  spec.email = ['cloudsdk@staff.aruba.it']
12
12
  spec.summary = %q{Enables Vagrant to manage servers in ArubaCloud IaaS.}
13
- spec.description = %q{Enables Vagrant to manage servers in ArubaCloud IaaS.}
13
+ spec.description = %q{Enables Vagrant to manage servers in ArubaCloud IaaS; this version support 'reload' and 'snapshot' option}
14
14
  spec.homepage = 'https://www.github.com/arubacloud/vagrant-arubacloud'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.add_runtime_dependency 'fog', '~> 1.22'
18
- spec.add_runtime_dependency 'fog-arubacloud', '~> 0.0.5'
19
-
18
+ spec.add_runtime_dependency 'fog-arubacloud', '~> 0.0', '>= 0.0.6'
20
19
  spec.add_development_dependency 'bundler', '~> 1.7'
21
- spec.add_development_dependency 'rake'
22
- spec.add_development_dependency 'rspec', '~> 2.14.0'
20
+ spec.add_development_dependency 'rake' , '~> 12.3'
21
+ spec.add_development_dependency 'rspec', '~> 3.7'
23
22
 
24
23
  spec.files = `git ls-files -z`.split("\x0")
25
24
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-arubacloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aruba S.p.A.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog
@@ -30,14 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.5
33
+ version: '0.0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.0.6
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: 0.0.5
43
+ version: '0.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.0.6
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: bundler
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -56,31 +62,32 @@ dependencies:
56
62
  name: rake
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ">="
65
+ - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
67
+ version: '12.3'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ">="
72
+ - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0'
74
+ version: '12.3'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: rspec
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: 2.14.0
81
+ version: '3.7'
76
82
  type: :development
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: 2.14.0
83
- description: Enables Vagrant to manage servers in ArubaCloud IaaS.
88
+ version: '3.7'
89
+ description: Enables Vagrant to manage servers in ArubaCloud IaaS; this version support
90
+ 'reload' and 'snapshot' option
84
91
  email:
85
92
  - cloudsdk@staff.aruba.it
86
93
  executables: []
@@ -93,7 +100,12 @@ files:
93
100
  - README.md
94
101
  - Rakefile
95
102
  - Vagrantfile
96
- - Vagrantfile.server_no_smart
103
+ - Vagrantfile_base
104
+ - Vagrantfile_multi_machine
105
+ - Vagrantfile_only_arubacloud_tmpl_srv
106
+ - Vagrantfile_pro
107
+ - Vagrantfile_syncing_and_sample_provision
108
+ - cloud1.png
97
109
  - dummy.box
98
110
  - example_box/metadata.json
99
111
  - gemfiles/vagrant-arubacloud-0.0.1dev.gem
@@ -113,9 +125,11 @@ files:
113
125
  - lib/vagrant-arubacloud/action/message_not_created.rb
114
126
  - lib/vagrant-arubacloud/action/read_ssh_info.rb
115
127
  - lib/vagrant-arubacloud/action/read_state.rb
128
+ - lib/vagrant-arubacloud/action/start_server.rb
116
129
  - lib/vagrant-arubacloud/cap/disable_requiretty.rb
117
130
  - lib/vagrant-arubacloud/command/root.rb
118
131
  - lib/vagrant-arubacloud/command/servers.rb
132
+ - lib/vagrant-arubacloud/command/snapshot.rb
119
133
  - lib/vagrant-arubacloud/command/templates.rb
120
134
  - lib/vagrant-arubacloud/config.rb
121
135
  - lib/vagrant-arubacloud/errors.rb
@@ -1,41 +0,0 @@
1
- # -*- mode: ruby -*-
2
- # vi: set ft=ruby :
3
-
4
- # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
- VAGRANTFILE_API_VERSION = '2'
6
-
7
- %w{AC_USERNAME AC_PASSWORD}.each do |var|
8
- abort "Please set the environment variable #{var} in order to run the test" unless ENV.key? var
9
- end
10
-
11
- require 'securerandom'
12
- rnd_string = SecureRandom.hex(2)
13
-
14
- Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
15
-
16
- # All Vagrant configuration is done here. The most common configuration
17
- # options are documented and commented below. For a complete reference,
18
- # please see the online documentation at vagrantup.com.
19
-
20
- # Every Vagrant virtual environment requires a box to build off of.
21
- config.vm.box = "dummy"
22
-
23
- config.vm.define :centos do |centos|
24
- centos.ssh.username = 'root'
25
- centos.ssh.password = 'g1un71n5.l4m3n74'
26
- centos.vm.provider :arubacloud do |ac|
27
- ac.arubacloud_username = ENV['AC_USERNAME']
28
- ac.arubacloud_password = ENV['AC_PASSWORD']
29
- ac.admin_password = 'g1un71n5.l4m3n74'
30
- #ac.template_id = '415'
31
- ac.template_id = '9'
32
- #ac.package_id = 1
33
- ac.service_type = 2
34
- ac.server_name = "centos-#{rnd_string}"
35
- ac.cpu_number = 2
36
- ac.ram_qty = 4
37
- ac.hds = [{:type => 0, :size => 20}, {:type => 1, :size => 30}]
38
- end
39
- end
40
-
41
- end