Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement --webpage option for PSSH #18

Open
jcmcken opened this issue Jan 13, 2012 · 1 comment
Open

Implement --webpage option for PSSH #18

jcmcken opened this issue Jan 13, 2012 · 1 comment
Labels
Milestone

Comments

@jcmcken
Copy link
Owner

jcmcken commented Jan 13, 2012

Create a simple, deployable webpage containing PSSH task data.

So something like...

$ pssh $OTHER_OPTS --webpage

Exported web slug to 'pssh-bf0ac3bb906a96481506dc91c051a8fe.tar.gz'

$ tar xfz pssh-bf0ac3bb906a96481506dc91c051a8fe.tar.gz
$ tree pssh/
pssh
|-- 01-13-2012-01:23:48.html
-- static |-- pssh.css -- pssh.js

1 directory, 3 files
$ cd pssh; python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...

@jcmcken
Copy link
Owner Author

jcmcken commented Apr 11, 2012

Call it --to-html with the companion --http-root option, which indicates the directory to drop the html file.

E.g.

pssh -h hostlist.txt --script do_stuff.sh --to-html --http-root /tmp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant