Skip to content

Commit 741bd43

Browse files
committed
README.md, add use_fs_label
1 parent b450201 commit 741bd43

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ If you need a more complex configuration, you'll need to build the
142142
resources out yourself.
143143
144144
## Optional Values
145-
The `unless_vg` (physical_volume) and `createonly` (volume_group) will check
145+
The `unless_vg` (physical_volume) and `createonly` (volume_group) will check
146146
to see if "myvg" exists. If "myvg" does exist then they will not modify
147147
the physical volume or volume_group. This is useful if your environment
148148
is built with certain disks but they change while the server grows, shrinks
149149
or moves.
150-
150+
151151
Example:
152152
```puppet
153153
physical_volume { "/dev/hdc":
@@ -200,6 +200,7 @@ resources out yourself.
200200
* stripes (Parameter) - The number of stripes to allocate for the new logical volume.
201201
* stripesize (Parameter) - The stripesize to use for the new logical volume.
202202
* thinpool (Parameter) - Default value: `false` - Set to true to create a thin pool or to pool name to create thin volume
203+
* use_fs_label (Parameter) - Default value: `false` - Set to true to create and mount the filesystem with a label (e.g. `mkfs.ext4 -L foobar` and `mount LABEL=foobar /mnt`). The value is taken from the resource-title.
203204
* volume_group (Parameter) - The volume group name associated with this logical volume. This will automatically set this volume group as a dependency, but it must be defined elsewhere using the volume_group resource type.
204205

205206
### physical_volume

0 commit comments

Comments
 (0)