]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
(#11413) Update dpkg query used by apt::force
authorMatthias Pigulla <mp@webfactory.de>
Thu, 15 Dec 2011 14:52:21 +0000 (15:52 +0100)
committerDan Bode <dan@puppetlabs.com>
Fri, 13 Jan 2012 19:59:24 +0000 (11:59 -0800)
commit2f5d317177976043dc3480ff715da5e1e56b8957
tree54ba5befe8652bb42b5357453bdff75d97f57fc5
parentee5d762351564203dec6637fb7e1547771eb03f4
(#11413) Update dpkg query used by apt::force

This patch fixes the query used by apt::force to
determine rather or not the package is installed.

Previously, the expression was not specific enough and
could not lead to false positives in cases where a package
name is contained within another package name (puppet could be
incorrectly determined as being installed if puppet-common is
installed)

This commit resolves that by improving the query expression.
manifests/force.pp