Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use a default name of os.hostname()

  • Loading branch information...
commit d9de990797d89338ae50fd26d26fa9bc3eeff24a 1 parent cafdc6c
@substack authored
Showing with 5 additions and 2 deletions.
  1. +2 −0  bin/drone.js
  2. +1 −0  doc/drone.markdown
  3. +2 −2 package.json
View
2  bin/drone.js
@@ -1,5 +1,7 @@
#!/usr/bin/env node
var argv = require('optimist').argv;
+if (!argv.name) argv.name = require('os').hostname();
+
var propagit = require('propagit');
var drone = propagit(argv).drone();
View
1  doc/drone.markdown
@@ -11,6 +11,7 @@ Connect to a fleet hub and register as a worker drone.
## OPTIONS
+* --name - name to give this drone, defaults to `os.hostname()`
* --hub - connect to this hub as a `host:port` string
* --secret - optional passphrase to connect to the hub
View
4 package.json
@@ -1,7 +1,7 @@
{
"name" : "fleet",
"description" : "command a cluster of processes ",
- "version" : "0.1.3",
+ "version" : "0.1.4",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/fleet.git"
@@ -37,7 +37,7 @@
"test" : "tap test/*.js"
},
"dependencies" : {
- "propagit" : "~0.6.1",
+ "propagit" : "~0.6.3",
"optimist" : "~0.3.1",
"mkdirp" : "~0.3.0",
"archy" : "~0.0.2"
Please sign in to comment.
Something went wrong with that request. Please try again.