From 6322d461bbe0b4218c393c82c76d9f0c2af308fa Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Tue, 27 Jan 2015 15:38:44 +0100 Subject: [PATCH] bump version --- README.md | 22 ++++++++++++---------- package.json | 4 +++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 91d6a18..128b8da 100644 --- a/README.md +++ b/README.md @@ -210,13 +210,14 @@ plan.target('dynamic-hosts', function(done) { if(err) { return done(err); } - var hosts = response.data.Reservations.map(function(reservation) { - return reservation.Instances.map(function(instance) { - return { - host: server.PublicIpAddress, + var hosts = []; + response.data.Reservations.forEach(function(reservation) { + reservation.Instances.forEach(function(instance) { + hosts.push({ + host: instance.PublicIpAddress, username: 'pstadler', agent: process.env.SSH_AUTH_SOCK - }; + }); }); }); done(hosts); @@ -253,13 +254,14 @@ plan.target('dynamic-hosts', function(done) { if(err) { return done(err); } - var hosts = response.data.Reservations.map(function(reservation) { - return reservation.Instances.map(function(instance) { - return { - host: server.PublicIpAddress, + var hosts = []; + response.data.Reservations.forEach(function(reservation) { + reservation.Instances.forEach(function(instance) { + hosts.push({ + host: instance.PublicIpAddress, username: 'pstadler', agent: process.env.SSH_AUTH_SOCK - }; + }); }); }); done(hosts); diff --git a/package.json b/package.json index 7ac0e20..adeaecf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "flightplan", "description": "Library for streamlining application deployment or systems administration tasks", - "version": "0.5.6", + "version": "0.6.0", "author": "Patrick Stadler ", "keywords": [ "deploy", @@ -10,12 +10,14 @@ "devops", "exec", "shell", + "bash", "ssh", "tasks", "parallel", "sequential", "remote", "local", + "cloud", "fabric" ], "readmeFilename": "README.md",