From 7b5d30ed18ada02e46dd65c01c66a8dbd5bfed77 Mon Sep 17 00:00:00 2001 From: Thomas Spalinger Date: Tue, 26 Feb 2013 21:35:49 +0100 Subject: [PATCH] replace aptitude with apt in apt::force --- manifests/force.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.45.2