diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-24 22:15:33 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-09 18:06:12 +0100 |
commit | a81a1c16ad0860f6d111409306661abbf1549fa1 (patch) | |
tree | ea114378b550c27348c512cae2acec48bf85e1e1 | |
parent | Pacman module makepkg. (diff) | |
download | profiles-a81a1c16ad0860f6d111409306661abbf1549fa1.tar.gz profiles-a81a1c16ad0860f6d111409306661abbf1549fa1.tar.xz |
pacman set dlagent flags.
Diffstat (limited to '')
-rw-r--r-- | manifests/arch_builder.pp | 12 |
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', + } + } } |