summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-24 22:15:33 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:06:12 +0100
commita81a1c16ad0860f6d111409306661abbf1549fa1 (patch)
treeea114378b550c27348c512cae2acec48bf85e1e1
parentPacman module makepkg. (diff)
downloadprofiles-a81a1c16ad0860f6d111409306661abbf1549fa1.tar.gz
profiles-a81a1c16ad0860f6d111409306661abbf1549fa1.tar.xz
pacman set dlagent flags.
-rw-r--r--manifests/arch_builder.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/arch_builder.pp b/manifests/arch_builder.pp
index 325ab3f..f3fd3a4 100644
--- a/manifests/arch_builder.pp
+++ b/manifests/arch_builder.pp
@@ -57,5 +57,17 @@ class profiles::arch_builder (
class { 'pacman::makepkg':
makeflags => '-j4',
packager => 'Hugo Hörnquist (automatically) <>',
+ dlagents => {
+ # Defaluts, but with --silent added
+ 'file' => '/usr/bin/curl --silent -gqC - -o %o %u',
+ 'ftp' => '/usr/bin/curl --silent -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u',
+ 'http' => '/usr/bin/curl --silent -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u',
+ 'https' => '/usr/bin/curl --silent -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u',
+ # Defaults, but needed since partial overrides aren't currently
+ # supported
+ 'rsync' => '/usr/bin/rsync --no-motd -z %u %o',
+ 'scp' => '/usr/bin/scp -C %u %o',
+ }
+
}
}