grunt-ot-lbstatus

1.0.0 • Public • Published

grunt-ot-lbstatus

Build Status NPM version Dependencies

Grunt helper for ot-flavoured lbstatus.

Connects to the given box by SSH and dumps the given string into the given file.

You can figure out the rest.

installation:

npm install --save grunt-ot-lbstatus

usage:

grunt.initConfig({
  'ot-lbstatus':{
    options: {
      server: '127.0.0.1',
      port: 22,
      user: 'myuser',
      password: 'mypass'
    },
    'on': {
      options: {
        string: 'ON'
      }
    },
    'off': {
      options: {
        string: 'OFF'
        ignoreErrors: true
      }
    }
  }
});

grunt ot-lbstatus:on
grunt ot-lbstatus:off

Future plans:

  • support key authentication

Package Sidebar

Install

npm i grunt-ot-lbstatus

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • acolchado
  • arnoldzokas
  • matteofigus
  • ryantomlinson
  • andyroyle