trafficbroker-mandy 0.1.2 → 0.1.3

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.
Files changed (3) hide show
  1. data/bin/mandy-install +6 -0
  2. data/bin/mandy-rm +6 -0
  3. metadata +3 -1
data/bin/mandy-install ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ ARGV.each do |server|
4
+ puts "Installing on #{server}..."
5
+ system %(ssh #{server} "sudo gem install trafficbroker-mandy --source http://gems.github.com")
6
+ end
data/bin/mandy-rm ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ config = ARGV[0]
4
+ file = ARGV[1]
5
+
6
+ `$HADOOP_HOME/bin/hadoop fs -conf #{config} -rmr #{file}`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trafficbroker-mandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent
@@ -22,6 +22,8 @@ executables:
22
22
  - mandy-map
23
23
  - mandy-put
24
24
  - mandy-reduce
25
+ - mandy-rm
26
+ - mandy-install
25
27
  extensions: []
26
28
 
27
29
  extra_rdoc_files: []