cdist-backup/cdist
Philippe Grégoire b2fb38d1f4
__package_pkg_openbsd: fix pkg_version explorer
The pkg_version explorer will fail to properly detect if a package
is installed when a package's name is present in the description of
a package (as returned by pkg_info).

Currently, trying to install libtool fails due to incorrect parsing:

    $ pkg_info | grep libtool
    libltdl-2.4.2p1     GNU libtool system independent dlopen wrapper

Additionally, trying to install nagios results in the following output:

    $ pkg_info | grep nagios
    nagios-4.0.8p3-chroot host and service monitor
    nagios-web-4.0.8p2-chroot cgis and webpages for nagios

This commit fixes detection by properly parsing pkg_info's output.
Specifically, descriptions are ignored and package names are properly
extracted.
2017-09-04 13:07:49 -04:00
..
conf __package_pkg_openbsd: fix pkg_version explorer 2017-09-04 13:07:49 -04:00
core Some pylint cleaning. 2017-08-22 10:58:30 +02:00
exec Add helpers for cdist config/install integration. (#551) 2017-09-01 14:08:50 +02:00
sphinxext pep8 2016-07-05 20:44:24 +02:00
test Add another test case. 2017-09-02 08:40:23 +02:00
util Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
__init__.py Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
argparse.py Add helpers for cdist config/install integration. (#551) 2017-09-01 14:08:50 +02:00
autil.py Add archiving support. 2017-08-09 16:56:02 +02:00
banner.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
config.py Add helpers for cdist config/install integration. (#551) 2017-09-01 14:08:50 +02:00
configuration.py pep8 2017-09-01 14:11:58 +02:00
emulator.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
flock.py Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
hostsource.py Merge custom cache path pattern from beta branch. 2017-07-01 23:59:51 +02:00
install.py Add missing param. 2016-11-01 08:11:37 +01:00
integration.py Add helpers for cdist config/install integration. (#551) 2017-09-01 14:08:50 +02:00
inventory.py Configfile (#559) 2017-08-30 23:02:17 +02:00
log.py Define better warning facility. 2017-07-04 23:49:43 +02:00
message.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
mputil.py Further improve parallel execution. 2017-07-26 17:39:07 +02:00
shell.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00