ec2launcher 1.0.4 → 1.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.
- data/README.md +7 -24
- data/lib/ec2launcher/version.rb +1 -1
- data/lib/ec2launcher.rb +2 -2
- metadata +2 -2
data/README.md
CHANGED
@@ -1,29 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# ec2launcher
|
2
2
|
|
3
|
-
|
3
|
+
A tool to help launch Amazon EC2 instances.
|
4
4
|
|
5
|
-
|
5
|
+
See http://studyblue.github.com/ec2launcher/ for more details. Or checkout the [wiki](ec2launcher/wiki).
|
6
6
|
|
7
|
-
|
7
|
+
# Contributing
|
8
8
|
|
9
|
-
|
9
|
+
All contributions are welcome: ideas, patches, documentation, bug reports, complaints, etc.
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install ec2launcher
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Added some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
11
|
+
* If you think you found a bug, you probably did. Feel free to create an issue here on GitHub. Also, when filing, please make sure you're familiar with [necolas's guidelines](https://github.com/necolas/issue-guidelines). See https://github.com/StudyBlue/ec2launcher/issues to review existing issues or to create a new issue.
|
12
|
+
* If you want to send patches, the best way is to fork this repo and send us a pull request.
|
data/lib/ec2launcher/version.rb
CHANGED
data/lib/ec2launcher.rb
CHANGED
@@ -174,7 +174,7 @@ module EC2Launcher
|
|
174
174
|
##############################
|
175
175
|
security_groups = []
|
176
176
|
security_groups += @environment.security_groups unless @environment.security_groups.nil?
|
177
|
-
security_groups += @application.security_groups_for_environment(
|
177
|
+
security_groups += @application.security_groups_for_environment(@environment.name)
|
178
178
|
|
179
179
|
##############################
|
180
180
|
# INSTANCE TYPE
|
@@ -316,7 +316,7 @@ echo '#{setup_json.to_json}' > /tmp/setup.json"
|
|
316
316
|
# Primary setup script
|
317
317
|
user_data += "\ncurl http://bazaar.launchpad.net/~alestic/runurl/trunk/download/head:/runurl-20090817053347-o2e56z7xwq8m9tt6-1/runurl -o /tmp/runurl
|
318
318
|
chmod +x /tmp/runurl
|
319
|
-
/tmp/runurl https://raw.github.com/StudyBlue/ec2launcher/master/startup-scripts/setup.rb -e #{
|
319
|
+
/tmp/runurl https://raw.github.com/StudyBlue/ec2launcher/master/startup-scripts/setup.rb -e #{@environment.name} -a #{@application.name} -h #{hostname} /tmp/setup.json > /var/log/cloud-startup.log
|
320
320
|
rm -f /tmp/runurl"
|
321
321
|
user_data += " -c #{options.clone_host}" unless options.clone_host.nil?
|
322
322
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|