Commit Graph

69 Commits (8a23227ec9acfc59a138d7fdb2167bf4147e403e)

Author SHA1 Message Date
Nico Schottelius 74e003d29b +print cdist version on startup + exit_code = 2 for irq 12 years ago
Nico Schottelius 10b27e63ca rename out_path -> out_dir for consistency 12 years ago
Nico Schottelius d1708c78b6 refactoring 12 years ago
Nico Schottelius eaf1721212 begin to migrate to '--output-base-path', shrink context 12 years ago
Nico Schottelius 83c981f477 begin to implement -C --cache-dir 12 years ago
Nico Schottelius 32f878ad00 update docs, document exit code bug 12 years ago
Nico Schottelius 0eb67a00f5 exit = 2 if ctrl-c is pressed, cleanup 12 years ago
Nico Schottelius c793825edb re-arrange REMOTE_COPY/EXEC for Shell use 12 years ago
Nico Schottelius 2403fc59ee refactor commandline: merge into its own class (and add first shell code) 12 years ago
Nico Schottelius 9195c9b8e8 Remove ugly argumentparser bug 12 years ago
Nico Schottelius 51c8687455 re-add object_prepare, use new run() method 12 years ago
Nico Schottelius a265d87037 begin dry run in command line 12 years ago
Nico Schottelius aedb3669c7 print hint if initial manifest is missing 12 years ago
Nico Schottelius 6ecfb28d93 name parameter correctly add_conf_dirs 12 years ago
Nico Schottelius 813651c14b allow passing conf_dir instead of cdist-home 12 years ago
Nico Schottelius 10b6c31ac8 Rename cdist.py to scripts/cdist to avoid self import 12 years ago
Nico Schottelius 3826b6ce36 not needed to import our path anymore 12 years ago
Nico Schottelius 91c1374657 begin restructering for python package 12 years ago
Nico Schottelius 5315c41903 Revert "do nothing by default and prevent traceback" 12 years ago
Nico Schottelius 8a8192d3d3 Revert "enable what I've committed just before" 12 years ago
Nico Schottelius 840dbc5fc2 enable what I've committed just before 12 years ago
Nico Schottelius b7a8a84bfc do nothing by default and prevent traceback 12 years ago
Steven Armstrong 4b33177d54 remove install command for now 13 years ago
Steven Armstrong f795b83c8e prevent a hen/egg problem when handling unsupported python versions 13 years ago
Nico Schottelius 108283bbeb add default values in argparse 13 years ago
Nico Schottelius c7fbdc8195 add --remote-exec and --remote-copy to command line args 13 years ago
Nico Schottelius dc355e7aa2 be consistent - log parsing is easy 13 years ago
Nico Schottelius eef408c1b3 record failing host and continue 13 years ago
Nico Schottelius 5001e9cbe7 prevent tracebacks in tempfile code/initial manifest from stdin 13 years ago
Nico Schottelius 58a88ca5bd remove useless try: block that was needed to find out how multiprocess /sigint behaviour works 13 years ago
Nico Schottelius 531ad2966f in fork() do sys.exit() so parent knows about failures 13 years ago
Nico Schottelius d3b9aa6769 begin support for sensible exit codes of cdist 13 years ago
Nico Schottelius 5e20ba5a13 ++logs, +import sys at top level 13 years ago
Nico Schottelius aa81486fe9 sys.exit() in try 13 years ago
Nico Schottelius 81660b5d64 explicitly require python 3.2 on source host 13 years ago
Steven Armstrong b38262f858 implement reading initial manifest from stdin 13 years ago
Nico Schottelius 0e7c532870 add new state code, begin to detect circular dependencies 13 years ago
Nico Schottelius ba6371c584 fix import error... stupid one 13 years ago
Nico Schottelius b7fdfb12e6 cleanups 13 years ago
Nico Schottelius 8b9e6780b8 no need for a constant that's used two lines below 13 years ago
Nico Schottelius 0344796d31 restructure imports 13 years ago
Nico Schottelius e3f3c48b22 wrap the whole program in the try...except KeyboardInterrupt block 13 years ago
Nico Schottelius dbdf036787 do not need to use terminate()/SIGTERM 13 years ago
Nico Schottelius 1d1bff88b7 just as a marker: return false, so in theory even multiprocess noticed that we did something stuped 13 years ago
Nico Schottelius a587975a99 catch keyboardirq in parallel mode, so it's not raised into multiprocess 13 years ago
Nico Schottelius 7b770b7b35 correctly report pid when killing subprocess 13 years ago
Nico Schottelius 84e102eb29 also report failed hosts in sequential mode, terminate processes on interrupt, continue deploy even if one or more hosts failed 13 years ago
Nico Schottelius e8a81551f8 implement error reporting for failed hosts at the end 13 years ago
Nico Schottelius 15ae422cb2 catch cdist errors in emulator or config install, not in main, because catching there does not work in multiprocess env 13 years ago
Nico Schottelius 72687b5aeb create new method to encapsulate configinstall run of one host 13 years ago