summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.1.6v0.1.6Jan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* doc/env_vars.txt: start documenting env. variablesJan Pokorný2014-11-142-1/+21
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* plugin_registry: allow loading dir/__init__.py as wellJan Pokorný2014-11-141-10/+15
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* plugin_registry: sanitize kwargs passing in init_lookupJan Pokorný2014-11-141-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* plugin_registry: better approach in PluginManager.lookupJan Pokorný2014-11-141-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_manager: sanitize _init_plugins -> _resolve kwargs passingJan Pokorný2014-11-141-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: properly rehash filterdict_* functionsJan Pokorný2014-11-141-11/+57
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: HASHALGO default is set in defaults.py/setup.cfgJan Pokorný2014-11-144-1/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-tests: fix positioning of --verboseJan Pokorný2014-11-141-2/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: add and use "Popen with logging"Jan Pokorný2014-11-141-1/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: plug "dict" protocol inJan Pokorný2014-11-141-0/+20
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: bytestring->merged: normalize: -a=b -> -a, bJan Pokorný2014-11-141-2/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: turn condition test O(n) to O(1)Jan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: use "chained" facility as a DRY measureJan Pokorný2014-11-141-7/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: arg2wrapped: make sure list on input is on outputJan Pokorný2014-11-141-2/+3
| | | | | | Previously, the list was deconstructed and reconstructed as a tuple. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: make passing protocol/protodecl optionalJan Pokorný2014-11-143-9/+10
| | | | | | | It is usually not used internally to allow "1 function, more roles" anyway. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: remove futile/NOOP usage of args2sgplJan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: fix factual discrepancy in the name of a variableJan Pokorný2014-11-141-5/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: fix factual discrepancy in the commentJan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main + more: introduce concept of "expert" cmd switchesJan Pokorný2014-11-144-15/+71
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: parsing/linearizing a command + testsJan Pokorný2014-11-144-0/+104
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* .gitignore: fix order of re-excluded vs included patternsJan Pokorný2014-11-141-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-tests: run (optionally allow skipping) run-check along againJan Pokorný2014-11-142-3/+12
| | | | | | | Also make the final exit code distinguish failure of native tests vs. failure of accompanied run-check round. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-check: fix and apply use of "norun" context (when sourced)Jan Pokorný2014-11-142-2/+2
| | | | | | | | Commit that got it originally wrong on the "provider" side (check its full commit message): run-check: pass provided switches down to clufter invocation Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-tests: simplify conditionalsJan Pokorný2014-11-141-9/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcs: fix module docstringJan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/utils: assertEquals (deprecated) -> assertEqualJan Pokorný2014-11-141-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/_gone -> _gone: same lines even for singly nested testsJan Pokorný2014-11-1412-21/+22
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten: fix "convenient local fallback" vs. RA_METADATA_DIRJan Pokorný2014-11-141-4/+10
| | | | | | | | | ... specifically in case RA_METADATA_DIR exists but does not have the metadata files installed (typical for rpmbuild invoked on machine with fence-agents installed and no clufter instance yet, see also: https://bugzilla.redhat.com/1161332) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcs: use cluster_pcs_1_2 to produce a warningJan Pokorný2014-11-141-1/+16
| | | | | | ... if suitable Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cluster: update knowledge about el6.6Jan Pokorný2014-11-141-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[cluster]: comment wrt. minimal configJan Pokorný2014-11-142-3/+17
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/utils_cluster: add test_cluster_pcs_1_2Jan Pokorný2014-11-141-15/+31
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cluster: cluster_pcs_1_2 utilizing patch-level granularityJan Pokorný2014-11-141-0/+9
| | | | | | ... in tracked Pacemaker versions Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cluster: extend the knowledge + Pacemaker up to patchlevelJan Pokorný2014-11-141-18/+51
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cluster: make version-dealing logic more robust (+simple)Jan Pokorný2014-11-141-17/+21
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[postgres-8]: fix lost functionalityJan Pokorný2014-11-141-0/+43
| | | | | | (ex-post sanitize "new command/cluster.conf analysis" commit, vol. 2) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2014-11-141-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.1.5v0.1.5Jan Pokorný2014-10-211-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-check: reflect recent changesJan Pokorný2014-10-211-9/+34
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: as a debug measure, allow intermediate output dumpsJan Pokorný2014-10-211-17/+43
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: workaround "protected" comments not passing validationJan Pokorný2014-10-211-8/+26
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[rm]: untranslated resources overhaulJan Pokorný2014-10-211-4/+47
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: _try_edit: make the keywords in edit prompt uppercasedJan Pokorný2014-10-211-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* doc/rgmanager-pacemaker.02.resources: fix a typoJan Pokorný2014-10-211-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcs: new extra finalizing pcs2pcsfinal passJan Pokorný2014-10-214-4/+51
| | | | | | | Meant to be easily omissible/suppressable with "--noop=pcs2pcsfinal" provided on command-line or an equivalent. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/pcsprelude2pcscompact[resources]: do not emit group prematurelyJan Pokorný2014-10-211-108/+111
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/pcsprelude2pcscompact[resources]: explaining commentsJan Pokorný2014-10-211-0/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/pcscompact2pcs[configuration]: fix indentationJan Pokorný2014-10-211-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/pcsprelude2pcscompact[resources]: handle @nofailback, tooJan Pokorný2014-10-211-0/+38
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>