summaryrefslogtreecommitdiffstats
path: root/facts.py
Commit message (Collapse)AuthorAgeFilesLines
* facts: overload/extend aliases_dist mappingJan Pokorný2015-04-081-2/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cmd_pkg_install: be ready to deal with a generatorJan Pokorný2015-02-261-7/+5
| | | | | | | Also add relevant unit tests. 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-261-3/+5
| | | | | | Also revamp respective unit tests. 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>
* facts: add ability to translate logical cmd to distro cmdJan Pokorný2015-01-091-0/+11
| | | | | | | | | | | | The target distro cmd is expected to keep the assumed template form (say, a command to install packages should contain "{commands}" field that is then substituted, via "format" method, with the desired packages, completing the command to be used further in the process). Unlike with logical packages, nothing is considered a (suitable) distro-wide default. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: add ability to translate logical pkg to distro pkgJan Pokorný2015-01-091-4/+27
| | | | | | | | In particular distro counterpart is found, logical package name is used (possibility for false assumptions, but makes enough sense to keep it like it to avoid being to verbose in the facts base) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: turn system identifiers to lowercase firstJan Pokorný2015-01-091-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Rename utils_cluster -> facts (more generic, really)Jan Pokorný2015-01-091-0/+358
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>