summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-08-30 22:23:58 -0400
committerJesse Luehrs <doy@tozt.net>2022-08-30 22:23:58 -0400
commit9db4f014fdfde48062e7ba90802c390144a948a6 (patch)
tree339961bf1cbb6611298c42b8faca8d5af528327a /modules/base
parentd252880dd0189e015942d025b6d4e5eef3cb9096 (diff)
downloadpuppet-tozt-9db4f014fdfde48062e7ba90802c390144a948a6.tar.gz
puppet-tozt-9db4f014fdfde48062e7ba90802c390144a948a6.zip
switch from yaourt to yay
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/files/pacman-cron2
-rw-r--r--modules/base/files/yaourtrc1
-rw-r--r--modules/base/manifests/operatingsystem.pp2
-rw-r--r--modules/base/manifests/tools.pp2
-rw-r--r--modules/base/templates/update3
5 files changed, 4 insertions, 6 deletions
diff --git a/modules/base/files/pacman-cron b/modules/base/files/pacman-cron
index 5c19288..fb06f76 100644
--- a/modules/base/files/pacman-cron
+++ b/modules/base/files/pacman-cron
@@ -1,3 +1,3 @@
#!/bin/sh
-TERM=xterm yaourt -Sya > /dev/null
+TERM=xterm yay -Sya > /dev/null
diff --git a/modules/base/files/yaourtrc b/modules/base/files/yaourtrc
deleted file mode 100644
index f80480e..0000000
--- a/modules/base/files/yaourtrc
+++ /dev/null
@@ -1 +0,0 @@
-EDITFILES=0
diff --git a/modules/base/manifests/operatingsystem.pp b/modules/base/manifests/operatingsystem.pp
index 4229fcc..17ac8b7 100644
--- a/modules/base/manifests/operatingsystem.pp
+++ b/modules/base/manifests/operatingsystem.pp
@@ -14,8 +14,6 @@ class base::operatingsystem {
target => "/usr/share/zoneinfo/UTC";
"/etc/hosts":
content => template('base/hosts');
- '/etc/yaourtrc':
- source => 'puppet:///modules/base/yaourtrc';
}
cron::job { "pacman":
diff --git a/modules/base/manifests/tools.pp b/modules/base/manifests/tools.pp
index 88deaf1..a4f2f95 100644
--- a/modules/base/manifests/tools.pp
+++ b/modules/base/manifests/tools.pp
@@ -1,5 +1,5 @@
class base::tools {
- include yaourt
+ include yay
package {
[
diff --git a/modules/base/templates/update b/modules/base/templates/update
index 9007bc7..68bb1cd 100644
--- a/modules/base/templates/update
+++ b/modules/base/templates/update
@@ -7,6 +7,7 @@ puppet-tozt
(cd ~/conf && git pull && make install)
sudo sh -c "cd ~/conf && git pull && make install"
-yaourt -Syua
+yay
+yay -Yc
rustup update
<%= @extra_script %>