opsworks 0.0.12 → 0.0.13
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 +4 -4
- data/README.md +2 -2
- data/lib/opsworks/config.rb +3 -1
- data/lib/opsworks/meta.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85a59b2adecb2ddabe49220d7750202d1cb87195
|
|
4
|
+
data.tar.gz: d04a9012af41e3715ae64133f6406226154aa297
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 740e793648ab4b50b19941c268004410910ca8618c5002b34fdb2d12405d0c1b92250774bf78c2943086a3d3c2c6a63f909213a2a3e1acaba1d48cd9331cf5bf
|
|
7
|
+
data.tar.gz: c135e453012bcb04985f19e6e9b6e2dad26d5b0cbed9deb72c9fb7dd69037866c7df522c7059c84bc7ad00588e797474ed3d41466d86435a00ae74990ef98dd0
|
data/README.md
CHANGED
|
@@ -17,8 +17,8 @@ Run `opsworks` with one of the following commands:
|
|
|
17
17
|
This gem uses the same configuration file as the [AWS CLI][aws_cli]. This
|
|
18
18
|
requires you to have a working AWS CLI setup before continuing.
|
|
19
19
|
|
|
20
|
-
Add the following section to the file pointed out by the
|
|
21
|
-
environment variable:
|
|
20
|
+
Add the following section to `~/.aws/config` or to the file pointed out by the
|
|
21
|
+
`AWS_CONFIG_FILE` environment variable:
|
|
22
22
|
|
|
23
23
|
[opsworks]
|
|
24
24
|
stack-id=<MY STACK IDs>
|
data/lib/opsworks/config.rb
CHANGED
|
@@ -9,7 +9,9 @@ module OpsWorks
|
|
|
9
9
|
attr_reader :stacks, :ssh_user_name
|
|
10
10
|
|
|
11
11
|
def initialize
|
|
12
|
-
|
|
12
|
+
file = ENV["AWS_CONFIG_FILE"] || "#{ENV['HOME']}/.aws/config"
|
|
13
|
+
raise "AWS config file not found" unless File.exists? file
|
|
14
|
+
ini = IniFile.load(file)
|
|
13
15
|
|
|
14
16
|
aws_config = ini['default']
|
|
15
17
|
AWS.config(
|
data/lib/opsworks/meta.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opsworks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Lindberg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inifile
|
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
134
134
|
version: '0'
|
|
135
135
|
requirements: []
|
|
136
136
|
rubyforge_project:
|
|
137
|
-
rubygems_version: 2.
|
|
137
|
+
rubygems_version: 2.1.9
|
|
138
138
|
signing_key:
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: Command line interface for Amazon OpsWorks
|