right_chimp 1.0 → 1.0.1
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/CHANGES +7 -0
- data/Gemfile.lock +1 -1
- data/INSTALL +19 -12
- data/LICENSE +1 -1
- data/lib/right_chimp/daemon/ChimpDaemon.rb +2 -2
- data/lib/right_chimp/templates/all_jobs.erb +1 -0
- data/lib/right_chimp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 634d307cab9b4664dd3a9ac2eb45814c485bc7cb
|
4
|
+
data.tar.gz: 86e20d30c6fc23dfe79704cc3085f4b8cc62d66a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6bf575bd40a18cf89964b4cc01f333b2f689386ec64c933fbe042e1d3a52503bfc6605d5d5cd9965fb46cf79a0190875b5e93cf014fd483adf0e68a1873911f
|
7
|
+
data.tar.gz: 9ca670a07b44af6ed0bf700cabfbeba41bc851a520098829ad33b4c1af21d6de972cf0fbea6736ffd088bc2ab8ba18cd6f7028b6394070a1165483503ec9a8aa
|
data/CHANGES
CHANGED
data/Gemfile.lock
CHANGED
data/INSTALL
CHANGED
@@ -5,21 +5,28 @@ This is the easiest way to get up and running with chimp. Make sure you have
|
|
5
5
|
Ruby and RubyGems installed. You can then install on your system by using the
|
6
6
|
following command:
|
7
7
|
|
8
|
-
gem install
|
8
|
+
gem install right_chimp
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Once you have the right_chimp gem installed, you'll need to get up your API
|
11
|
+
creds. First create a directory for the configuration file:
|
12
12
|
|
13
|
-
|
14
|
-
the right place! To install chimp from source, first make sure you have
|
15
|
-
all the required gems installed. Change to the chimp source directory and
|
16
|
-
execute:
|
13
|
+
mkdir ~/.rest_connection
|
17
14
|
|
18
|
-
|
15
|
+
Next create the configuration file. Name it rest_api_config.yaml and place it in the
|
16
|
+
.rest_connection folder. Use the following YAML as a template, replacing <email>, <password>
|
17
|
+
and <account> with your email address, RightScale password, and account number.
|
19
18
|
|
20
|
-
|
21
|
-
|
19
|
+
---
|
20
|
+
:ssh_keys:
|
21
|
+
- ~/.ssh/id_rsa
|
22
|
+
:pass: <password>
|
23
|
+
:user: <email>
|
24
|
+
:api_url: https://my.rightscale.com/api/acct/<account>
|
25
|
+
:common_headers:
|
26
|
+
X_API_VERSION: "1.0"
|
22
27
|
|
23
|
-
|
24
|
-
|
28
|
+
Now you're ready to run a test query. The following chimp command should return
|
29
|
+
a list of all the operational servers in your account:
|
30
|
+
|
31
|
+
chimp --tag="rs_monitoring:state=active"
|
25
32
|
|
data/LICENSE
CHANGED
@@ -383,9 +383,9 @@ module Chimp
|
|
383
383
|
|
384
384
|
if not @template
|
385
385
|
if ENV['CHIMP_TEST'] != 'TRUE'
|
386
|
-
template_file_name = File.join(Gem.dir, 'gems', '
|
386
|
+
template_file_name = File.join(Gem.dir, 'gems', 'right_chimp-' + VERSION, 'lib/right_chimp/templates/all_jobs.erb')
|
387
387
|
else
|
388
|
-
template_file_name = 'lib/
|
388
|
+
template_file_name = 'lib/right_chimp/templates/all_jobs.erb'
|
389
389
|
end
|
390
390
|
|
391
391
|
@template = ERB.new(File.read(template_file_name), nil, ">")
|
data/lib/right_chimp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_chimp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Deutsch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: progressbar
|