Commit graph

35149 commits

Author SHA1 Message Date
Michael DeHaan
9e931f323c Update ohai module to run on older python clients. 2012-02-24 02:05:49 -05:00
Michael DeHaan
f17c4ca4b2 Added an 'ohai' module. Some weird JSON hackage to get it to work. 2012-02-24 02:04:50 -05:00
Michael DeHaan
c8fe53c4b9 Update README.md to reflect that this is a tool, not just an API. Though
the API is important.
2012-02-24 01:13:21 -05:00
Michael DeHaan
b0d2739baa Merge pull request #6 from tbielawa/manpage
Because everything should have a man page
2012-02-24 17:30:11 -08:00
Tim Bielawa
f0b0211772 Because everything should have a man page 2012-02-24 20:07:49 -05:00
Tim Bielawa
4caf9d274b Fix tbielawa email in AUTHORS file 2012-02-24 20:07:49 -05:00
Michael DeHaan
43f7dee247 Added rough sketch of what I want for playbook support. Debug heavy at the moment
as I figure out how logging/output might look.  A couple of major TODO features
also listed in the file.
2012-02-24 01:02:24 -05:00
Michael DeHaan
2fc109b47a Credit Tim for last patch. 2012-02-23 23:58:40 -05:00
Michael DeHaan
767517ac65 Force forks to be an integer when read by command line 2012-02-23 23:57:26 -05:00
Michael DeHaan
7730341d24 We don't have modules that list when things change just yet. I plan to handle
this by having a changed=True/False in the JSON for these modules.  Added a note
so folks won't think we can only execute shell :)
2012-02-23 23:54:16 -05:00
Michael DeHaan
0095336a4e Update API docs for runner 2012-02-23 23:29:34 -05:00
Michael DeHaan
d079c8e5f3 Move runner out of __init__.py so it's clear what classes live where. 2012-02-23 23:28:58 -05:00
Michael DeHaan
6eda2cf383 Added initial stub for where playbooks will go, moved to common
constants file so as to not repeat constants between CLI and lib.
2012-02-23 23:26:16 -05:00
Michael DeHaan
be9fdc8ef1 Add Seth to authors file. 2012-02-23 23:03:57 -05:00
Michael DeHaan
b2e8084c50 Merge pull request #4 from skvidal/master
adds an option to ask for and store the ssh password from the cli
2012-02-24 15:27:19 -08:00
Michael DeHaan
a021020967 Merge pull request #3 from katzj/no-shell
Don't use a shell and thus avoid a whole class of problems
2012-02-24 15:26:33 -08:00
Michael DeHaan
0ac8e565c2 Merge pull request #2 from katzj/non-root-mktemp
Use a mktemp'd path for uploading modules
2012-02-24 15:26:18 -08:00
Seth Vidal
08b45d6da1 add support to prompt for ssh password on the cli 2012-02-24 18:13:11 -05:00
Jeremy Katz
24e10dc2e8 Don't use a shell and thus avoid a whole class of problems 2012-02-24 16:10:53 -05:00
Jeremy Katz
25df80ff58 Use a mktemp'd path for uploading modules 2012-02-24 15:51:16 -05:00
Michael DeHaan
bd37864242 Comments and fixup on the dark/contacted code 2012-02-23 23:00:37 -05:00
Michael DeHaan
11f7930038 trim unused modules 2012-02-23 22:54:01 -05:00
Michael DeHaan
4a891b4108 Merge branch 'master' of github.com:mpdehaan/ansible 2012-02-23 22:50:45 -05:00
Michael DeHaan
659c0efd72 Add authors file to list contributors 2012-02-23 22:50:25 -05:00
Michael DeHaan
6bebedd7eb Merge pull request #1 from katzj/centos5-simplejson
Fall back to standalone simplejson module
2012-02-23 19:47:51 -08:00
Michael DeHaan
7be8d134c9 Rename 'successful' to 'contacted' ... 2012-02-23 22:47:03 -05:00
Michael DeHaan
530e54b3e4 Fix multiprocessing pool usage and remove stackoverflow hack 2012-02-23 22:38:51 -05:00
Michael DeHaan
4608a93de5 Added docs on split success/failure structures 2012-02-23 22:24:56 -05:00
Michael DeHaan
7ce5db97ed Add explicit calls to close connections 2012-02-23 22:10:34 -05:00
Michael DeHaan
e0e98d10ce use readlines on stdout so we'll block on long running commands 2012-02-23 22:09:23 -05:00
Michael DeHaan
7eb2dd2dee Add remote setting to file, update TODO 2012-02-23 22:04:09 -05:00
Michael DeHaan
03647d64e9 Update docs, added TODO.md 2012-02-23 21:47:31 -05:00
Michael DeHaan
3da6370a65 use defaults better, improve/fix setup.py 2012-02-23 21:37:39 -05:00
Michael DeHaan
2c873a4467 Adding setup.py 2012-02-23 21:07:03 -05:00
Jeremy Katz
ef8ea13495 Fall back to standalone simplejson module
CentOS5 has python 2.4 which doesn't have a built-in json
module
2012-02-23 20:52:53 -05:00
Michael DeHaan
9681e1fa04 Add MIT license headers 2012-02-23 19:42:05 -05:00
Michael DeHaan
cb7fb52736 Added copy to list of modules, though it's not really a true module. Added more idea notes. 2012-02-23 17:38:49 -05:00
Michael DeHaan
a2a8deaeaa Added command module 2012-02-23 17:19:06 -05:00
Michael DeHaan
f4fca1069a doc updates 2012-02-23 16:32:58 -05:00
Michael DeHaan
3807824c6d Added file copy support w/ readme updates 2012-02-23 16:07:10 -05:00
Michael DeHaan
83d15afc6f readme updates 2012-02-23 15:31:35 -05:00
Michael DeHaan
631ac37843 Example facter module. Look how quick that was. 2012-02-23 15:24:24 -05:00
Michael DeHaan
145a024d7b Split CLI into binscript 2012-02-23 14:56:14 -05:00
Michael DeHaan
288ce6b32e Further readme tweaks 2012-02-23 14:40:17 -05:00
Michael DeHaan
5170a9fe2c Readme edits 2012-02-23 14:28:39 -05:00
Michael DeHaan
381b3c971a Example for list of hosts syntax
TODO: add a command to auto-add a host, list hosts, etc
2012-02-23 14:20:28 -05:00
Michael DeHaan
b9426ef99a Add SSH-agent usage instructions 2012-02-23 14:19:28 -05:00
Michael DeHaan
c4f6d493b3 Initial library directory 2012-02-23 14:18:51 -05:00
Michael DeHaan
f31421576b Genesis. 2012-02-23 14:17:24 -05:00