]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/manifests/grub.pp
Fix package dependencies for base installation
[perso/Immae/Projets/Puppet.git] / modules / base_installation / manifests / grub.pp
index 0a96aa7d7b1020f53b096e9fcc971b325c8dde96..208b745317046426445d384b5516593713ba0acc 100644 (file)
@@ -9,9 +9,10 @@ class base_installation::grub inherits base_installation {
   # }
 
   file_line { "/etc/default/grub#GRUB_CMDLINE_LINUX":
-    path  => "/etc/default/grub",
-    line  => 'GRUB_CMDLINE_LINUX=" console=tty0 console=ttyS0,115200"',
-    match => '^GRUB_CMDLINE_LINUX='
+    path    => "/etc/default/grub",
+    line    => 'GRUB_CMDLINE_LINUX=" console=tty0 console=ttyS0,115200"',
+    match   => '^GRUB_CMDLINE_LINUX=',
+    require => Package["grub"],
   }
 
   # exec { 'update GRUB config':