summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ccs-flatten/resrules.c: fix recently introduced off-by-oneJan Pokorný2015-03-161-1/+1
| | | | | | Discovered thanks to Travis CI tests. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: upon failure, examine cores, should there be anyJan Pokorný2015-03-161-0/+14
| | | | | | | Inspiration: https://jsteemann.github.io/blog/2014/10/30/getting-core-dumps-of-failed-travisci-builds/ Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: follow "apt-get update -qq" piece of adviceJan Pokorný2015-03-161-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-check: "ln -r" is a recent addition, do not rely on thatJan Pokorný2015-03-161-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten/flatten.c: fix a memory leakJan Pokorný2015-03-161-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten/resrules.c: make sure raw metadata are handled lastJan Pokorný2015-03-161-10/+28
| | | | | | | | We need this sort of determinism (not needed generally as agents are supposed to be different, otherwise it would confuse cluster management, etc.). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten/resrules.c: track success of glob + cleanup afterwardsJan Pokorný2015-03-161-2/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten: avoid proper RA *.metadata confusion with own onesJan Pokorný2015-03-161-2/+6
| | | | | | | | | | | | | | | | Previously, running the CLI without proper installation on the machine with some /usr/share/cluster/*.metadata files present (typically RHEL 6 with resource-agents installed) meant that "onvenient fallback for local/test deployment" hadn't been activated, leading to various errors in the conversion due to most of the *.metadata files missing anyway (most notably for "script"). Now we take an advantage of own/embedded metadata files ending with ".sh.metadata", therefore we are not confused in this way (at least not so easily, but good enough for the time being). Reported-by: Chris Feist <cfeist@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten: minor fixes and simplificationsJan Pokorný2015-03-162-6/+11
| | | | | | | | | - add "#ifdef RA_METADATA_EXT" where also advisable - closedir before possibly returning, not the other way around - reflect the fact basename doesn't return NULL and work with its return value directly Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[apache]: consider also @httpdJan Pokorný2015-03-161-1/+7
| | | | | | | | Parameter added to rgmanager's RA as of https://bugzilla.redhat.com/show_bug.cgi?id=952132 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: cosmetics (zero-padded day, changelog spacing)Jan Pokorný2015-03-161-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-03-162-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.10.1v0.10.1Jan Pokorný2015-03-042-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[rm]: support unemployed resourcesJan Pokorný2015-03-041-1/+5
| | | | | | | | | | | | Previously only resources (primitives) utilized in services were a subject of conversion. This was (mis)led by a false observation that ccs_flatten binary drops /cluster/rm/resources XML subtree. Apparently one can have pre-cooked resources, not actively contributing in cluster-managed services (ccs_flatten keeps these as-are), which should be converted as well. Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: support also xsl:value-of based/dynamic XSL commentsJan Pokorný2015-03-041-3/+7
| | | | | | Related to "script" RA ccs2pcs conversion provided by Patrik Hagara. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xml: skip extending with None nonstring arg in nselemJan Pokorný2015-03-041-2/+2
| | | | | | Related to "script" RA ccs2pcs conversion provided by Patrik Hagara. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-03-042-1/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.10.0v0.10.0Jan Pokorný2015-02-262-4/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[bind-mount]: not bind-mountpointJan Pokorný2015-02-261-6/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: make %clufter_b suitable for overridingJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: modify the "actual" bash completion fileJan Pokorný2015-02-261-4/+8
| | | | | | | Reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c23> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: do not call rpm from withing rpmbuildJan Pokorný2015-02-261-3/+10
| | | | | | | Reported by Mamoru Tasaka: <https://bugzilla.redhat.com/show_bug.cgi?id=1180723#c23> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[bind-mountpoint]: RA++Jan Pokorný2015-02-262-5/+45
| | | | | | Add support for a recently introduced bind-mountpoint RA. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[_fs]: fix unhandled fstypeJan Pokorný2015-02-261-0/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[_fs]: fix a comment typoJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[rm]: fix possibly missing xsl:whenJan Pokorný2015-02-261-1/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-check: fix "direct consumption" use-case (from repo root)Jan Pokorný2015-02-261-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-check: fix "direct consumption" use-caseJan Pokorný2015-02-261-2/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten: update "cached" metadata of resource agentsJan Pokorný2015-02-265-0/+158
| | | | | | | - new: bind-mount, db2 - updated: nfsserver, postgres-8, vm Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs-flatten/Makefile: fix missing trailing curly braceJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: commit-specific run-sdist-per-commit as Source1Jan Pokorný2015-02-261-4/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Introduce systemic handling of magic file specs (finally)Jan Pokorný2015-02-263-26/+33
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cmd_pkg_install: be ready to deal with a generatorJan Pokorný2015-02-262-8/+13
| | | | | | | Also add relevant unit tests. Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[apache]: too keen quoting/escapingJan Pokorný2015-02-261-2/+2
| | | | | Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[apache,fs]: missing op/@intervalJan Pokorný2015-02-262-0/+2
| | | | | Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cmd_pkg_install: return empty string when no pkgsJan Pokorný2015-02-262-4/+12
| | | | | | Also revamp respective unit tests. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-pcs/commands/pcs_rsc_deps: use also "_common" optsJan Pokorný2015-02-261-2/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ext-plugins/lib-pcs/filters/pcs_resource: missing newlineJan Pokorný2015-02-261-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: s/infere_/infer_/Jan Pokorný2015-02-261-13/+13
| | | | | | (no idea how this was originally introduced) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* defaults: use triple-quotes to avoid cmd/editor clashJan Pokorný2015-02-261-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: set editor to force-block verbose enforcerJan Pokorný2015-02-261-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: get rid of unneeded/expected/worthless messagesJan Pokorný2015-02-261-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: special "magic_split" flavorJan Pokorný2015-02-262-0/+18
| | | | | | | | | | | | ... that allows specifying multi-argument option as a single-argument one with '::' being a logical separator between such args. This is needed, for instance, when multi-argument option is specified last to differentiate between such option argument and proper command argument (only a single argument for an option is normally expected). Also add a respective unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: ack. "--" in merged->separatedJan Pokorný2015-02-261-8/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: fix __cmd__/__args__ bad handlingJan Pokorný2015-02-261-4/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: think of non-arg optionJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: uncomment preservation of constructor kwargsJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: fix "from dict" directionJan Pokorný2015-02-262-5/+16
| | | | | | Also fix a typo and add a relevant unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* travis: pass --disable-pip-version-check to pip if applicableJan Pokorný2015-02-261-2/+9
| | | | | | Also reformat a bit. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: which: comment wrt. distutils...find_executableJan Pokorný2015-02-261-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>