vagrant-aws-mscottford 0.8.0
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.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +96 -0
- data/Gemfile +14 -0
- data/LICENSE +8 -0
- data/README.md +328 -0
- data/Rakefile +22 -0
- data/cortex.yaml +15 -0
- data/dummy.box +0 -0
- data/example_box/README.md +13 -0
- data/example_box/metadata.json +3 -0
- data/lib/vagrant-aws/action/connect_aws.rb +51 -0
- data/lib/vagrant-aws/action/elb_deregister_instance.rb +24 -0
- data/lib/vagrant-aws/action/elb_register_instance.rb +24 -0
- data/lib/vagrant-aws/action/is_created.rb +18 -0
- data/lib/vagrant-aws/action/is_stopped.rb +18 -0
- data/lib/vagrant-aws/action/message_already_created.rb +16 -0
- data/lib/vagrant-aws/action/message_not_created.rb +16 -0
- data/lib/vagrant-aws/action/message_will_not_destroy.rb +16 -0
- data/lib/vagrant-aws/action/package_instance.rb +192 -0
- data/lib/vagrant-aws/action/read_ssh_info.rb +53 -0
- data/lib/vagrant-aws/action/read_state.rb +38 -0
- data/lib/vagrant-aws/action/run_instance.rb +311 -0
- data/lib/vagrant-aws/action/start_instance.rb +81 -0
- data/lib/vagrant-aws/action/stop_instance.rb +28 -0
- data/lib/vagrant-aws/action/terminate_instance.rb +51 -0
- data/lib/vagrant-aws/action/timed_provision.rb +21 -0
- data/lib/vagrant-aws/action/wait_for_state.rb +41 -0
- data/lib/vagrant-aws/action/warn_networks.rb +19 -0
- data/lib/vagrant-aws/action.rb +209 -0
- data/lib/vagrant-aws/cap/winrm_info.rb +46 -0
- data/lib/vagrant-aws/config.rb +577 -0
- data/lib/vagrant-aws/errors.rb +43 -0
- data/lib/vagrant-aws/plugin.rb +78 -0
- data/lib/vagrant-aws/provider.rb +50 -0
- data/lib/vagrant-aws/util/elb.rb +58 -0
- data/lib/vagrant-aws/util/timer.rb +17 -0
- data/lib/vagrant-aws/version.rb +5 -0
- data/lib/vagrant-aws.rb +18 -0
- data/locales/en.yml +159 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/vagrant-aws/config_spec.rb +374 -0
- data/templates/metadata.json.erb +3 -0
- data/templates/vagrant-aws_package_Vagrantfile.erb +5 -0
- data/vagrant-aws-mscottford.gemspec +64 -0
- metadata +177 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "vagrant-aws/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "vagrant-aws-mscottford"
|
8
|
+
s.version = VagrantPlugins::AWS::VERSION
|
9
|
+
s.platform = Gem::Platform::RUBY
|
10
|
+
s.license = "MIT"
|
11
|
+
s.authors = "Mitchell Hashimoto"
|
12
|
+
s.email = "mitchell@hashicorp.com"
|
13
|
+
s.homepage = "https://github.com/mscottford/vagrant-aws-mscottford"
|
14
|
+
s.summary = "Enables Vagrant to manage machines in EC2 and VPC."
|
15
|
+
s.description = "Enables Vagrant to manage machines in EC2 and VPC."
|
16
|
+
|
17
|
+
s.required_rubygems_version = ">= 1.3.6"
|
18
|
+
s.rubyforge_project = "vagrant-aws"
|
19
|
+
|
20
|
+
s.add_runtime_dependency "fog-aws", "~> 3.0"
|
21
|
+
# pinned to be compatible with vagrant-vsphere version 1.13.5 and 1.14.0
|
22
|
+
s.add_runtime_dependency "nokogiri", "~> 1.18.0"
|
23
|
+
s.add_runtime_dependency "iniparse", "~> 1.4", ">= 1.4.2"
|
24
|
+
|
25
|
+
s.add_development_dependency "rake"
|
26
|
+
# rspec 3.4 to mock File
|
27
|
+
s.add_development_dependency "rspec", "~> 3.4"
|
28
|
+
s.add_development_dependency "rspec-its"
|
29
|
+
|
30
|
+
# The following block of code determines the files that should be included
|
31
|
+
# in the gem. It does this by reading all the files in the directory where
|
32
|
+
# this gemspec is, and parsing out the ignored files from the gitignore.
|
33
|
+
# Note that the entire gitignore(5) syntax is not supported, specifically
|
34
|
+
# the "!" syntax, but it should mostly work correctly.
|
35
|
+
root_path = File.dirname(__FILE__)
|
36
|
+
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
37
|
+
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
38
|
+
gitignore_path = File.join(root_path, ".gitignore")
|
39
|
+
gitignore = File.readlines(gitignore_path)
|
40
|
+
gitignore.map! { |line| line.chomp.strip }
|
41
|
+
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
42
|
+
|
43
|
+
unignored_files = all_files.reject do |file|
|
44
|
+
# Ignore any directories, the gemspec only cares about files
|
45
|
+
next true if File.directory?(file)
|
46
|
+
|
47
|
+
# Ignore any paths that match anything in the gitignore. We do
|
48
|
+
# two tests here:
|
49
|
+
#
|
50
|
+
# - First, test to see if the entire path matches the gitignore.
|
51
|
+
# - Second, match if the basename does, this makes it so that things
|
52
|
+
# like '.DS_Store' will match sub-directories too (same behavior
|
53
|
+
# as git).
|
54
|
+
#
|
55
|
+
gitignore.any? do |ignore|
|
56
|
+
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
57
|
+
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
s.files = unignored_files
|
62
|
+
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
63
|
+
s.require_path = 'lib'
|
64
|
+
end
|
metadata
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vagrant-aws-mscottford
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mitchell Hashimoto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fog-aws
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.18.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.18.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: iniparse
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.4'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 1.4.2
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '1.4'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.4.2
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rake
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.4'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.4'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rspec-its
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
description: Enables Vagrant to manage machines in EC2 and VPC.
|
104
|
+
email: mitchell@hashicorp.com
|
105
|
+
executables: []
|
106
|
+
extensions: []
|
107
|
+
extra_rdoc_files: []
|
108
|
+
files:
|
109
|
+
- ".gitignore"
|
110
|
+
- ".rspec"
|
111
|
+
- CHANGELOG.md
|
112
|
+
- Gemfile
|
113
|
+
- LICENSE
|
114
|
+
- README.md
|
115
|
+
- Rakefile
|
116
|
+
- cortex.yaml
|
117
|
+
- dummy.box
|
118
|
+
- example_box/README.md
|
119
|
+
- example_box/metadata.json
|
120
|
+
- lib/vagrant-aws.rb
|
121
|
+
- lib/vagrant-aws/action.rb
|
122
|
+
- lib/vagrant-aws/action/connect_aws.rb
|
123
|
+
- lib/vagrant-aws/action/elb_deregister_instance.rb
|
124
|
+
- lib/vagrant-aws/action/elb_register_instance.rb
|
125
|
+
- lib/vagrant-aws/action/is_created.rb
|
126
|
+
- lib/vagrant-aws/action/is_stopped.rb
|
127
|
+
- lib/vagrant-aws/action/message_already_created.rb
|
128
|
+
- lib/vagrant-aws/action/message_not_created.rb
|
129
|
+
- lib/vagrant-aws/action/message_will_not_destroy.rb
|
130
|
+
- lib/vagrant-aws/action/package_instance.rb
|
131
|
+
- lib/vagrant-aws/action/read_ssh_info.rb
|
132
|
+
- lib/vagrant-aws/action/read_state.rb
|
133
|
+
- lib/vagrant-aws/action/run_instance.rb
|
134
|
+
- lib/vagrant-aws/action/start_instance.rb
|
135
|
+
- lib/vagrant-aws/action/stop_instance.rb
|
136
|
+
- lib/vagrant-aws/action/terminate_instance.rb
|
137
|
+
- lib/vagrant-aws/action/timed_provision.rb
|
138
|
+
- lib/vagrant-aws/action/wait_for_state.rb
|
139
|
+
- lib/vagrant-aws/action/warn_networks.rb
|
140
|
+
- lib/vagrant-aws/cap/winrm_info.rb
|
141
|
+
- lib/vagrant-aws/config.rb
|
142
|
+
- lib/vagrant-aws/errors.rb
|
143
|
+
- lib/vagrant-aws/plugin.rb
|
144
|
+
- lib/vagrant-aws/provider.rb
|
145
|
+
- lib/vagrant-aws/util/elb.rb
|
146
|
+
- lib/vagrant-aws/util/timer.rb
|
147
|
+
- lib/vagrant-aws/version.rb
|
148
|
+
- locales/en.yml
|
149
|
+
- spec/spec_helper.rb
|
150
|
+
- spec/vagrant-aws/config_spec.rb
|
151
|
+
- templates/metadata.json.erb
|
152
|
+
- templates/vagrant-aws_package_Vagrantfile.erb
|
153
|
+
- vagrant-aws-mscottford.gemspec
|
154
|
+
homepage: https://github.com/mscottford/vagrant-aws-mscottford
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata: {}
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 1.3.6
|
172
|
+
requirements: []
|
173
|
+
rubygems_version: 3.5.22
|
174
|
+
signing_key:
|
175
|
+
specification_version: 4
|
176
|
+
summary: Enables Vagrant to manage machines in EC2 and VPC.
|
177
|
+
test_files: []
|