diff options
-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'], |