diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-28 17:26:39 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-28 17:26:39 +0200 |
commit | d7b6e53e01c414582f0ff4cdc07dc963838b5192 (patch) | |
tree | 36de0c51dc44ec4d9652b2842200ac688705270f /modules | |
parent | bfd8ca3f9b05a8d8028bca0845e579f45156f244 (diff) | |
download | Puppet-d7b6e53e01c414582f0ff4cdc07dc963838b5192.tar.gz Puppet-d7b6e53e01c414582f0ff4cdc07dc963838b5192.tar.zst Puppet-d7b6e53e01c414582f0ff4cdc07dc963838b5192.zip |
Fix aur url
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aur/manifests/aura.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/aur/manifests/aura.pp b/modules/aur/manifests/aura.pp index 3e06f0a..3074885 100644 --- a/modules/aur/manifests/aura.pp +++ b/modules/aur/manifests/aura.pp | |||
@@ -13,10 +13,14 @@ class aur::aura( | |||
13 | ensure_packages(['base-devel'], { 'install_options' => '--needed' }) | 13 | ensure_packages(['base-devel'], { 'install_options' => '--needed' }) |
14 | ensure_packages(['gmp', 'pcre'], { 'install_options' => '--asdeps' }) | 14 | ensure_packages(['gmp', 'pcre'], { 'install_options' => '--asdeps' }) |
15 | 15 | ||
16 | # aur.sh seems down | ||
17 | #$aur_url = "https://aur.sh" | ||
18 | $aur_url = "https://raw.githubusercontent.com/stuartpb/aur.sh/dc2f3fcaa90a4d3d1e8d746160559b5d3123a425/aur.sh" | ||
19 | |||
16 | exec { 'aur::aura': | 20 | exec { 'aur::aura': |
17 | cwd => "/tmp", | 21 | cwd => "/tmp", |
18 | path => "/usr/bin", | 22 | path => "/usr/bin", |
19 | command => 'curl -o /tmp/aur.sh aur.sh && chmod +x /tmp/aur.sh && /tmp/aur.sh aura-bin && mv /tmp/aura-bin/aura-bin-*-x86_64.pkg.tar.xz /tmp/aura-bin-x86_64.pkg.tar.xz && rm /tmp/aur.sh && rm -rf /tmp/aura-bin', | 23 | command => "curl -o /tmp/aur.sh $aur_url && chmod +x /tmp/aur.sh && /tmp/aur.sh aura-bin && mv /tmp/aura-bin/aura-bin-*-x86_64.pkg.tar.xz /tmp/aura-bin-x86_64.pkg.tar.xz && rm /tmp/aur.sh && rm -rf /tmp/aura-bin", |
20 | user => "aur-builder", | 24 | user => "aur-builder", |
21 | unless => '/usr/bin/pacman -Qo aura', | 25 | unless => '/usr/bin/pacman -Qo aura', |
22 | require => Package['base-devel'], | 26 | require => Package['base-devel'], |