Skip to content

Instantly share code, notes, and snippets.

@Marak
Created August 17, 2010 04:17
Show Gist options
  • Save Marak/528439 to your computer and use it in GitHub Desktop.
Save Marak/528439 to your computer and use it in GitHub Desktop.
var noc = require('noc');
var job = noc.createJob('install node.js on ubuntu');
job.addTask(function (server) {
// Some javascript code .. maybe:
// server.mkdir(....)
});
job.addTask(function (server) {
});
job.save(/* pass in a buffer like from fs.read */);
job.execute([ {"173.203.243.67": {
"port": "23",
"user": "root",
"password": "staging.nodejitsu.comuL1X1oLx7"
}
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment