Skip to content

Commit 6322d46

Browse files
committed
bump version
1 parent ad91167 commit 6322d46

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

+12-10
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,14 @@ plan.target('dynamic-hosts', function(done) {
210210
if(err) {
211211
return done(err);
212212
}
213-
var hosts = response.data.Reservations.map(function(reservation) {
214-
return reservation.Instances.map(function(instance) {
215-
return {
216-
host: server.PublicIpAddress,
213+
var hosts = [];
214+
response.data.Reservations.forEach(function(reservation) {
215+
reservation.Instances.forEach(function(instance) {
216+
hosts.push({
217+
host: instance.PublicIpAddress,
217218
username: 'pstadler',
218219
agent: process.env.SSH_AUTH_SOCK
219-
};
220+
});
220221
});
221222
});
222223
done(hosts);
@@ -253,13 +254,14 @@ plan.target('dynamic-hosts', function(done) {
253254
if(err) {
254255
return done(err);
255256
}
256-
var hosts = response.data.Reservations.map(function(reservation) {
257-
return reservation.Instances.map(function(instance) {
258-
return {
259-
host: server.PublicIpAddress,
257+
var hosts = [];
258+
response.data.Reservations.forEach(function(reservation) {
259+
reservation.Instances.forEach(function(instance) {
260+
hosts.push({
261+
host: instance.PublicIpAddress,
260262
username: 'pstadler',
261263
agent: process.env.SSH_AUTH_SOCK
262-
};
264+
});
263265
});
264266
});
265267
done(hosts);

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flightplan",
33
"description": "Library for streamlining application deployment or systems administration tasks",
4-
"version": "0.5.6",
4+
"version": "0.6.0",
55
"author": "Patrick Stadler <[email protected]>",
66
"keywords": [
77
"deploy",
@@ -10,12 +10,14 @@
1010
"devops",
1111
"exec",
1212
"shell",
13+
"bash",
1314
"ssh",
1415
"tasks",
1516
"parallel",
1617
"sequential",
1718
"remote",
1819
"local",
20+
"cloud",
1921
"fabric"
2022
],
2123
"readmeFilename": "README.md",

0 commit comments

Comments
 (0)