From 5adcfd482be6573cbaee94cbd7889e6098df36f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 22 Apr 2018 15:35:27 +0200 Subject: Add parted program when mounts are available --- modules/profile/manifests/fstab.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/profile/manifests/fstab.pp b/modules/profile/manifests/fstab.pp index 5f2e58e..46c3600 100644 --- a/modules/profile/manifests/fstab.pp +++ b/modules/profile/manifests/fstab.pp @@ -2,6 +2,8 @@ class profile::fstab ( Optional[Array] $mounts = [] ) { $mounts.each |$mount| { + ensure_package(["parted"]) + unless empty($mount) { $infos = split($mount, ';') -- cgit v1.2.3