broham 0.0.4 → 0.0.5

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 +1 -1
  2. data/bin/broham-diss +13 -0
  3. data/broham.gemspec +3 -2
  4. metadata +4 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
data/bin/broham-diss ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require 'broham'
4
+ require 'broham/script'
5
+
6
+
7
+ Broham.get_cluster_settings
8
+ role_name = Settings[:role_name]
9
+
10
+ $stderr.puts %Q{Removing all #{role_name}}
11
+ resps = Broham.unregister_all role_name
12
+ $stderr.puts resps.map{|resp| resp.to_pretty_json }
13
+
data/broham.gemspec CHANGED
@@ -5,14 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{broham}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Philip (flip) Kromer"]
12
12
  s.date = %q{2010-04-05}
13
13
  s.description = %q{Bro! Broham always knows where his bros are, bro. Using broham, a newly-created cloud machine can annouce its availability for a certain role ("nfs_server" or "db_slave-2"), allowing any other interested nodes to discover its public_ip, private_ip, etc. See also: http://j.mp/amongbros}
14
14
  s.email = %q{flip@infochimps.org}
15
- s.executables = ["broham-host", "broham-register", "broham-register_as_next", "broham-sup", "broham-unregister-all", "broham-yo"]
15
+ s.executables = ["broham-diss", "broham-host", "broham-register", "broham-register_as_next", "broham-sup", "broham-unregister-all", "broham-yo"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
18
18
  "README.textile"
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
24
24
  "README.textile",
25
25
  "Rakefile",
26
26
  "VERSION",
27
+ "bin/broham-diss",
27
28
  "bin/broham-host",
28
29
  "bin/broham-register",
29
30
  "bin/broham-register_as_next",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Philip (flip) Kromer
@@ -46,6 +46,7 @@ dependencies:
46
46
  description: "Bro! Broham always knows where his bros are, bro. Using broham, a newly-created cloud machine can annouce its availability for a certain role (\"nfs_server\" or \"db_slave-2\"), allowing any other interested nodes to discover its public_ip, private_ip, etc. See also: http://j.mp/amongbros"
47
47
  email: flip@infochimps.org
48
48
  executables:
49
+ - broham-diss
49
50
  - broham-host
50
51
  - broham-register
51
52
  - broham-register_as_next
@@ -64,6 +65,7 @@ files:
64
65
  - README.textile
65
66
  - Rakefile
66
67
  - VERSION
68
+ - bin/broham-diss
67
69
  - bin/broham-host
68
70
  - bin/broham-register
69
71
  - bin/broham-register_as_next