diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-17 12:29:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-17 12:29:29 -0500 |
commit | 4ff7e214a977a1dacff42d2c406bf6c144957a11 (patch) | |
tree | 21c8eb46834f7d1b2c2747cdd3447da3ed84242b /modules/partofme | |
parent | e1cf695a7d40352015eebf80400c5248ae782619 (diff) | |
download | puppet-tozt-4ff7e214a977a1dacff42d2c406bf6c144957a11.tar.gz puppet-tozt-4ff7e214a977a1dacff42d2c406bf6c144957a11.zip |
use reflector for maintaining the mirrorlist
Diffstat (limited to 'modules/partofme')
-rw-r--r-- | modules/partofme/files/mirrorlist | 3 | ||||
-rw-r--r-- | modules/partofme/manifests/operatingsystem.pp | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/modules/partofme/files/mirrorlist b/modules/partofme/files/mirrorlist deleted file mode 100644 index 2d004c6..0000000 --- a/modules/partofme/files/mirrorlist +++ /dev/null @@ -1,3 +0,0 @@ -Server = https://arch.mirror.constant.com/$repo/os/$arch -Server = https://mirror.epiphyte.network/archlinux/$repo/os/$arch -Server = https://mirrors.sorengard.com/archlinux/$repo/os/$arch diff --git a/modules/partofme/manifests/operatingsystem.pp b/modules/partofme/manifests/operatingsystem.pp index e6c5a15..a98e950 100644 --- a/modules/partofme/manifests/operatingsystem.pp +++ b/modules/partofme/manifests/operatingsystem.pp @@ -1,12 +1,11 @@ class partofme::operatingsystem { + include reflector include wireguard file { '/etc/mkinitcpio.conf': source => 'puppet:///modules/partofme/mkinitcpio.conf', notify => Exec['/usr/bin/mkinitcpio -p linux']; - '/etc/pacman.d/mirrorlist': - source => 'puppet:///modules/partofme/mirrorlist'; } exec { '/usr/bin/mkinitcpio -p linux': |