tacoma 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/lib/tacoma/command.rb +6 -4
- data/lib/tacoma/version.rb +1 -1
- data/lib/template/boto +6 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e5d724bfb9469a9364b7c11a8520d991e72aa3
|
4
|
+
data.tar.gz: 00fc0b60018964d255e988633f8fc0e808078921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc7eb5a903b905036de48a5676e41acba4119118715dd5dd834327192bf3fcc8645ca9975ec111c79224575cce99faeb5a8fae364edf207f3ceff7ac0b3bad9a
|
7
|
+
data.tar.gz: 3ed33cd6408816bf016067a6283a0553e897273fdc84b8faaee3b6a5d4ae8434752377c4a2958d80d281df525d2778c79f1a5dfd0c308ec5dc90d588e2a6e259
|
data/README.md
CHANGED
@@ -33,12 +33,17 @@ And it will list all the configured entries. Running
|
|
33
33
|
|
34
34
|
tacoma switch project
|
35
35
|
|
36
|
-
Will display the export commands for the AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_ID credential environment variables, will add the specified identity file into the SSH agent, and will generate configuration files for the
|
36
|
+
Will display the export commands for the AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_ID credential environment variables, will add the specified identity file into the SSH agent, and will generate configuration files for the supported tools, which at this time are
|
37
|
+
|
38
|
+
- [Fog](https://github.com/fog/fog), which should work with Capistrano's capify-ec2.
|
39
|
+
- [Boto](https://github.com/boto/boto)
|
40
|
+
|
37
41
|
|
38
42
|
## TODO
|
39
43
|
|
40
44
|
- Check for errors in the `tacoma.yml` file
|
41
|
-
- Add other AWS tool providers (Knife,
|
45
|
+
- Add other AWS tool providers (Knife, AWS cli, S3cmd, ...)
|
46
|
+
- Honor the different optional environment vars for the different config files (i.e `FOG_RC`)
|
42
47
|
|
43
48
|
|
44
49
|
## THANKS
|
data/lib/tacoma/command.rb
CHANGED
@@ -54,10 +54,12 @@ module Tacoma
|
|
54
54
|
@aws_access_key_id = Tool.aws_access_key_id
|
55
55
|
@repo = Tool.repo
|
56
56
|
|
57
|
-
#
|
58
|
-
|
59
|
-
|
60
|
-
|
57
|
+
# set configurations for tools
|
58
|
+
{fog: '.fog', boto: '.boto'}.each do |tool, config_path|
|
59
|
+
template_path = Pathname.new("#{self.class.source_root}/../template/#{tool}").realpath.to_s
|
60
|
+
file_path = File.join(Dir.home, config_path)
|
61
|
+
template template_path, file_path, :force => true
|
62
|
+
end
|
61
63
|
|
62
64
|
system("ssh-add #{@aws_identity_file}")
|
63
65
|
end
|
data/lib/tacoma/version.rb
CHANGED
data/lib/template/boto
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tacoma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Lupión
|
@@ -81,6 +81,7 @@ files:
|
|
81
81
|
- lib/tacoma.rb
|
82
82
|
- lib/tacoma/command.rb
|
83
83
|
- lib/tacoma/version.rb
|
84
|
+
- lib/template/boto
|
84
85
|
- lib/template/fog
|
85
86
|
- lib/template/tacoma.yml
|
86
87
|
- tacoma.gemspec
|