From: Thomas Spalinger Date: Tue, 26 Feb 2013 20:35:49 +0000 (+0100) Subject: replace aptitude with apt in apt::force X-Git-Tag: 1.2.0~2^2~2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7b5d30ed18ada02e46dd65c01c66a8dbd5bfed77;p=puppet-modules%2Fpuppetlabs-apt.git replace aptitude with apt in apt::force --- diff --git a/manifests/force.pp b/manifests/force.pp index 75634b4..2d33e94 100644 --- a/manifests/force.pp +++ b/manifests/force.pp @@ -16,7 +16,7 @@ define apt::force( false => "/usr/bin/dpkg -s ${name} | grep -q 'Status: install'", default => "/usr/bin/dpkg -s ${name} | grep -q 'Version: ${version}'", } - exec { "/usr/bin/aptitude -y -t ${release} install ${name}${version_string}": + exec { "/usr/bin/apt-get -y -t ${release} install ${name}${version_string}": unless => $install_check, logoutput => 'on_failure', timeout => $timeout,