If you think this plugin is worth merging I will write a new section for the documentation.
This is a great idea -- would love to see this make it in!
BTW: is there a way to run a oneliner bash command or a script on all the nodes of the cluster using something starcluster something mycluster cmd? For instance:
starcluster something mycluster cmd
starcluster execcmd mycluster "pip install mylib"
starcluster execcmd mycluster "rm -rf /home/user/temp_folder"
$ starcluster sshmaster mycluster 'cat /etc/hosts'
StarCluster - (http://web.mit.edu/starcluster)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to email@example.com
Yes but then you have to pipe that with a cut and a second ssh command to send the actual command...
Or maybe use http://code.google.com/p/parallel-ssh/ from sshmaster instead.
FYI: I gave this PR a test and it worked perfectly for me.
@ogrisel This looks great! If you can add docs I'd be happy to merge it.
Alright, I am on it.
I pushed some documentation, ready for review.
New plugin to install python packages with pip
Add missing override for the on_remove_node method
Documentation for the pypackage plugin
raise NotImplementedError in on_remove_node callback
I just rebased on develop and raise NotImplementedError in on_remove_node callback
@jtriley Do you like the current plugin name? Would prefer if I renamed it to PipInstaller or PyPkgInstaller instead?
@ogrisel I like PyPkgInstaller given that it's more generic than PipInstaller. Would you be up for refactoring the plugin and docs to do the rename?
I will try to do that tonight CET.
Renaming pypackage to pypkginstaller - part 1
Missing sample output line
Merge branch 'pypkginstaller-plugin' into develop
@ogrisel Great work, thanks again!!!