aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-22 15:35:27 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-22 15:35:27 +0200
commit5adcfd482be6573cbaee94cbd7889e6098df36f8 (patch)
treed218d86ba5380c280bdf509a187a331055f8f9ea
parente3cc4c31bd41b5a2d4b3d5f4e1ecc27b541540c4 (diff)
downloadPuppet-5adcfd482be6573cbaee94cbd7889e6098df36f8.tar.gz
Puppet-5adcfd482be6573cbaee94cbd7889e6098df36f8.tar.zst
Puppet-5adcfd482be6573cbaee94cbd7889e6098df36f8.zip
Add parted program when mounts are available
-rw-r--r--modules/profile/manifests/fstab.pp2
1 files changed, 2 insertions, 0 deletions
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 (
2 Optional[Array] $mounts = [] 2 Optional[Array] $mounts = []
3) { 3) {
4 $mounts.each |$mount| { 4 $mounts.each |$mount| {
5 ensure_package(["parted"])
6
5 unless empty($mount) { 7 unless empty($mount) {
6 $infos = split($mount, ';') 8 $infos = split($mount, ';')
7 9