summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-16 00:28:14 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-16 00:28:14 -0500
commitd322b5bc8fd9c6adc4571b37fd5ad41a84e8806a (patch)
treed3dc36e475691d34ed3cdbddfb558e4c7fe86b08 /modules
parent231b7e4814b778069bb06570694bc115136fa265 (diff)
downloadpuppet-tozt-d322b5bc8fd9c6adc4571b37fd5ad41a84e8806a.tar.gz
puppet-tozt-d322b5bc8fd9c6adc4571b37fd5ad41a84e8806a.zip
make sure we install the mirrorlist early
Diffstat (limited to 'modules')
-rw-r--r--modules/partofme/manifests/operatingsystem.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/partofme/manifests/operatingsystem.pp b/modules/partofme/manifests/operatingsystem.pp
index 45f16f4..e13bb47 100644
--- a/modules/partofme/manifests/operatingsystem.pp
+++ b/modules/partofme/manifests/operatingsystem.pp
@@ -8,6 +8,7 @@ class partofme::operatingsystem {
'/etc/pacman.d/mirrorlist':
source => 'puppet:///modules/partofme/mirrorlist';
}
+ File['/etc/pacman.d/mirrorlist'] -> Package<| provider == "pacman" |>
exec { '/usr/bin/mkinitcpio -p linux':
refreshonly => true;