Comparing version 0.2.0 to 0.3.0
@@ -9,2 +9,3 @@ var nodemiral = require('nodemiral'); | ||
var format = require('util').format; | ||
var extend = require('util')._extend; | ||
require('colors'); | ||
@@ -35,2 +36,3 @@ | ||
var auth = {username: server.username}; | ||
if(server.pem) { | ||
@@ -42,2 +44,7 @@ auth.pem = fs.readFileSync(path.resolve(server.pem), 'utf8'); | ||
if(server.sshOptions) { | ||
for (var key in server.sshOptions) { | ||
options.ssh[key] = server.sshOptions[key]; | ||
} | ||
} | ||
sessions.push(nodemiral.session(host, auth, options)); | ||
@@ -44,0 +51,0 @@ }); |
{ | ||
"name": "mup", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Production Quality Meteor Deplouments", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -71,3 +71,4 @@ # Meteor UP | ||
"username": "root", | ||
"password": "x7fj29dhs0" | ||
"password": "x7fj29dhs0", | ||
"sshOptions": { "Port" : 49154 }, | ||
//or pem file (ssh based authentication) | ||
@@ -181,2 +182,2 @@ //"pem": "~/.ssh/id_rsa" | ||
Now setup both projects and deploy as you need. | ||
Now setup both projects and deploy as you need. |
23941
337
182