]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/aur/manifests/package.pp
Fix aura packager
[perso/Immae/Projets/Puppet.git] / modules / aur / manifests / package.pp
index 2fd346e393c5fd510384436b7f788617b7f91284..5b55f248bb24eac213b7c82b39401c1824d36b23 100644 (file)
@@ -7,7 +7,7 @@ define aur::package (
       exec { "pacman::aur::install::${name}":
         cwd       => "/tmp",
         require   => Class[aur::aura],
-        command   => "/usr/bin/aura -A ${name}",
+        command   => "/usr/bin/sudo /usr/bin/aura --noconfirm -A ${name}",
         user      => "aur-builder",
         unless    => "/usr/bin/aura -Qk ${name}",
         logoutput => 'on_failure',
@@ -18,7 +18,7 @@ define aur::package (
       exec { "pacman::aur::remove::${name}":
         cwd       => "/tmp",
         require   => Class[aur::aura],
-        command   => "/usr/bin/aura -Rs ${name}",
+        command   => "/usr/bin/sudo /usr/bin/aura --noconfirm -Rs ${name}",
         user      => "aur-builder",
         onlyif    => "/usr/bin/aura -Qi ${name}",
         logoutput => 'on_failure',