emissary 1.3.14 → 1.3.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION.yml +1 -1
  2. data/etc/config.ini +38 -0
  3. data/etc/init.d/emissary +2 -1
  4. metadata +7 -8
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 3
4
- :patch: 14
4
+ :patch: 15
@@ -0,0 +1,38 @@
1
+ [general]
2
+ operators = [ amqp ]
3
+ pid_dir = /var/run
4
+ log_level = NOTICE
5
+ agents = [ all ]
6
+ [agents]
7
+ execute = {
8
+ safe_path = /opt/nyt/emissary/bin
9
+ }
10
+ sshkeys = {
11
+ valid_users = [
12
+ root, dev, logpoll
13
+ ]
14
+ }
15
+ [amqp]
16
+ node = {
17
+ # URI schema is: <scheme>://<user>:<pass>@<server>:<port>/<vhost>
18
+ # scheme is either amqp (non-ssl) or amqps (ssl)
19
+ URI = amqps://nimbul_pa_1:22MH%23a3%7D5%2AGb5%2EfG@mq.ec2.nytimes.com:443/nimbul
20
+ # Account: NYTD Platform Production [1]
21
+ # Cluster: Nimbul [2]
22
+ # Server: Nimbul Production [292]
23
+ # all routing keys are based on <RouteType>.<Account ID>.<Cluster ID>.<Server Id>.<Instance ID>
24
+ subscriptions = [
25
+ request.1:topic
26
+ request.1.2:topic
27
+ request.1.2.292:topic
28
+ request.1.2.292.__ID_INSTANCE_ID__:topic
29
+ ]
30
+ startup = startup.1.2.292.__ID_INSTANCE_ID__:topic
31
+ shutdown = shutdown.1.2.292.__ID_INSTANCE_ID__:topic
32
+ stats = {
33
+ interval = 300
34
+ queue_base = info.stat.1.2.292.__ID_INSTANCE_ID__:topic
35
+ }
36
+ # no stats for the time being
37
+ disable = [ stats ]
38
+ }
@@ -6,7 +6,8 @@
6
6
  # description: emissary provides support for handling of network events.
7
7
 
8
8
  CONFIG_FILE=/etc/emissary/config.ini
9
- EMISSARY_EXECUTABLE="$(ruby -rrubygems -e 'puts Gem.bindir')/emissary"
9
+ ## Do this to ensure that RVM is used (invoke a subshell) if it exists on the system. No harm otherwise
10
+ EMISSARY_EXECUTABLE=$(/bin/sh -l -c "ruby -rrubygems -e 'puts Gem.bindir'")/emissary
10
11
 
11
12
  [ -f "${CONFIG_FILE}" ] || exit 0
12
13
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emissary
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease: false
4
+ hash: 5
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 14
10
- version: 1.3.14
9
+ - 15
10
+ version: 1.3.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Carl P. Corliss
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-04 00:00:00 -04:00
19
- default_executable: bin/emissary-setup
18
+ date: 2012-01-17 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: daemons
@@ -221,6 +220,7 @@ files:
221
220
  - lib/emissary/agent/emissary.rb
222
221
  - etc/init.d/emissary
223
222
  - etc/emissary/config.ini
223
+ - etc/config.ini
224
224
  - bin/emissary-setup
225
225
  - bin/emissary-send-message
226
226
  - bin/emissary
@@ -228,7 +228,6 @@ files:
228
228
  - VERSION.yml
229
229
  - LICENSE
230
230
  - README.txt
231
- has_rdoc: true
232
231
  homepage: http://nimbul.github.com/nimbul/
233
232
  licenses: []
234
233
 
@@ -258,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
257
  requirements: []
259
258
 
260
259
  rubyforge_project:
261
- rubygems_version: 1.3.7
260
+ rubygems_version: 1.8.10
262
261
  signing_key:
263
262
  specification_version: 3
264
263
  summary: EventMachine/AMQP based event handling client