aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-05 20:34:18 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-05 20:34:18 +0200
commit76596414639e3fa676a759a0cc1e0bfb358f9ae8 (patch)
tree3dcbc7053fd6ba04adc93275594afdf736d2068b
parentb9fb13d2aa2e7c58e7f766f468fb64d496c28fa9 (diff)
downloadPuppet-76596414639e3fa676a759a0cc1e0bfb358f9ae8.tar.gz
Puppet-76596414639e3fa676a759a0cc1e0bfb358f9ae8.tar.zst
Puppet-76596414639e3fa676a759a0cc1e0bfb358f9ae8.zip
Fix aur bootstrap script
-rw-r--r--modules/aur/manifests/aura.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aur/manifests/aura.pp b/modules/aur/manifests/aura.pp
index 3074885..47b02f8 100644
--- a/modules/aur/manifests/aura.pp
+++ b/modules/aur/manifests/aura.pp
@@ -15,12 +15,12 @@ class aur::aura(
15 15
16 # aur.sh seems down 16 # aur.sh seems down
17 #$aur_url = "https://aur.sh" 17 #$aur_url = "https://aur.sh"
18 $aur_url = "https://raw.githubusercontent.com/stuartpb/aur.sh/dc2f3fcaa90a4d3d1e8d746160559b5d3123a425/aur.sh" 18 #$aur_url = "https://raw.githubusercontent.com/stuartpb/aur.sh/dc2f3fcaa90a4d3d1e8d746160559b5d3123a425/aur.sh"
19 19
20 exec { 'aur::aura': 20 exec { 'aur::aura':
21 cwd => "/tmp", 21 cwd => "/tmp",
22 path => "/usr/bin", 22 path => "/usr/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", 23 command => "cd /tmp && curl https://aur.archlinux.org/cgit/aur.git/snapshot/aura-bin.tar.gz | tar xz && cd aura-bin && makepkg 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",
24 user => "aur-builder", 24 user => "aur-builder",
25 unless => '/usr/bin/pacman -Qo aura', 25 unless => '/usr/bin/pacman -Qo aura',
26 require => Package['base-devel'], 26 require => Package['base-devel'],