]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
replace aptitude with apt in apt::force
authorThomas Spalinger <spali@spali.ch>
Tue, 26 Feb 2013 20:35:49 +0000 (21:35 +0100)
committerThomas Spalinger <spali@spali.ch>
Tue, 26 Feb 2013 20:35:49 +0000 (21:35 +0100)
manifests/force.pp

index 75634b476dd8fe7cac2517cbdbefcc89b758dc13..2d33e942dcda0a7ddfd564d5d69be95e85a4afb1 100644 (file)
@@ -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,