We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536229e commit a79c344Copy full SHA for a79c344
manifests/logical_volume.pp
@@ -101,11 +101,13 @@
101
}
102
103
if $createfs or $ensure != 'present' {
104
- exec { "ensure mountpoint '${fixed_mountpath}' exists":
105
- path => [ '/bin', '/usr/bin' ],
106
- command => "mkdir -p ${fixed_mountpath}",
107
- unless => "test -d ${fixed_mountpath}",
108
- before => Mount[$mount_title],
+ if $fs_type != 'swap' {
+ exec { "ensure mountpoint '${fixed_mountpath}' exists":
+ path => [ '/bin', '/usr/bin' ],
+ command => "mkdir -p ${fixed_mountpath}",
+ unless => "test -d ${fixed_mountpath}",
109
+ before => Mount[$mount_title],
110
+ }
111
112
113
mount { $mount_title:
0 commit comments