https://github.com/opentable/grunt-ot-lbstatus
lbstatus helper for ot apps
https://github.com/opentable/grunt-ot-lbstatus
Last synced: 3 months ago
JSON representation
lbstatus helper for ot apps
- Host: GitHub
- URL: https://github.com/opentable/grunt-ot-lbstatus
- Owner: opentable
- License: mit
- Created: 2015-02-23T17:45:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T05:01:05.000Z (over 9 years ago)
- Last Synced: 2025-03-04T10:47:54.423Z (4 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 0
- Watchers: 19
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grunt-ot-lbstatus
[](https://travis-ci.org/opentable/grunt-ot-lbstatus) [](http://badge.fury.io/js/grunt-ot-lbstatus) 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