A little webapp to show salt events in a more readable format
Go to file
2020-09-13 22:39:15 -04:00
src Color the background of the connection state to make it more clear 2020-09-13 22:39:15 -04:00
.editorconfig Initial Commit, basic functionality 2019-12-06 16:52:37 -05:00
.gitignore Initial Commit, basic functionality 2019-12-06 16:52:37 -05:00
.prettierrc Initial Commit, basic functionality 2019-12-06 16:52:37 -05:00
package.json Allow collapsing jobs 2019-12-30 20:31:05 -05:00
README.md Add basic README.md 2020-03-22 00:47:12 -04:00
tsconfig.json Initial Commit, basic functionality 2019-12-06 16:52:37 -05:00

SaltStatus

This is a small webapp to render the events from salt in a compact, readable format. I wrote it to deal with running state.apply on all the Windows laptops and desktops at the Claremont MakerSpace, as the CLI results were becoming hard to parse by hand.

Usage

You will need credentials on the salt master. Place these in a file called credentials.json in the src/ directory, as per the following example:

{
  "username": "user",
  "password": "password",
  "eauth": "pam"
}

Then npm install and npm start should bring the webapp up on parcel's default port 1234. You may need to go to a page on the api (there should one be printed out in the error the js console) to accept the SSL certificate.