cdist/cdist/conf
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
..
explorer Update machine_type (#564) 2017-09-01 20:56:48 +02:00
manifest re-add sample, but longer name 2012-10-30 16:33:18 +01:00
type __package_pkg_openbsd: fix pkg_version explorer 2017-09-04 13:07:49 -04:00
.gitignore make package_data work 2012-10-29 22:50:27 +01:00
README make package_data work 2012-10-29 22:50:27 +01:00

README

This is a sample configuration that can be used as an example
for /etc/cdist.

For instance:

   [root@kr etc]# ln -s ~nico/p/cdist/conf/ /etc/cdist