- add bits for updating apt
[puppet-modules/puppetlabs-apt.git] / manifests / builddep.pp
index 997a2064f85e8c372c387c0c50255c4caffd27ba..3beadeb373078533201c6a23825af78dfc3414d3 100644 (file)
@@ -4,8 +4,9 @@ define apt::builddep() {
   include apt::update
 
   exec { "apt-builddep-${name}":
-    command => "/usr/bin/apt-get -y --force-yes build-dep ${name}",
-    notify  => Exec['apt_update'],
+    command   => "/usr/bin/apt-get -y --force-yes build-dep ${name}",
+    logoutput => 'on_failure',
+    require    => Exec['apt_update'],
   }
 
   # Need anchor to provide containment for dependencies.