]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add parted program when mounts are available
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 22 Apr 2018 13:35:27 +0000 (15:35 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 22 Apr 2018 13:35:27 +0000 (15:35 +0200)
modules/profile/manifests/fstab.pp

index 5f2e58e2d9a2c3a45f25c902200529c0def2df20..46c360086dc526075304c0b31022cef9d05e042b 100644 (file)
@@ -2,6 +2,8 @@ class profile::fstab (
   Optional[Array] $mounts = []
 ) {
   $mounts.each |$mount| {
+    ensure_package(["parted"])
+
     unless empty($mount) {
       $infos = split($mount, ';')