@@ -78,9 +78,11 @@ class { 'lvm':
7878This could be really convenient when used with hiera:
7979
8080``` puppet
81- include :: lvm
81+ include lvm
8282```
83+
8384and
85+
8486``` yaml
8587---
8688lvm::volume_groups :
@@ -104,7 +106,9 @@ lvm::volume_groups:
104106 mountpath : /var/backups
105107 mountpath_require : true
106108` ` `
109+
107110or to just build the VG if it does not exist
111+
108112` ` ` yaml
109113---
110114lvm::volume_groups :
@@ -142,23 +146,26 @@ If you need a more complex configuration, you'll need to build the
142146resources out yourself.
143147
144148## Optional Values
145- The ` unless_vg` (physical_volume) and `createonly` (volume_group) will check
146- to see if "myvg" exists. If "myvg" does exist then they will not modify
147- the physical volume or volume_group. This is useful if your environment
148- is built with certain disks but they change while the server grows, shrinks
149- or moves.
150149
151- Example :
150+ The ` unless_vg` (physical_volume) and `createonly` (volume_group) will check
151+ to see if "myvg" exists. If "myvg" does exist then they will not modify
152+ the physical volume or volume_group. This is useful if your environment
153+ is built with certain disks but they change while the server grows, shrinks
154+ or moves.
155+
156+ Example :
157+
152158` ` ` puppet
153- physical_volume { "/dev/hdc":
154- ensure => present,
155- unless_vg => "myvg"
156- }
157- volume_group { "myvg":
158- ensure => present,
159- physical_volumes => "/dev/hdc",
160- createonly => true
161- }
159+ physical_volume { "/dev/hdc":
160+ ensure => present,
161+ unless_vg => "myvg",
162+ }
163+
164+ volume_group { "myvg":
165+ ensure => present,
166+ physical_volumes => "/dev/hdc",
167+ createonly => true,
168+ }
162169` ` `
163170
164171# # Type Documentation
@@ -224,11 +231,9 @@ resources out yourself.
224231
225232# # AIX Specific Type Documentation
226233
227-
228234There are a number of AIX specific parameters and properties. The regular
229235parameters documented above also apply to AIX systems.
230236
231-
232237# ## filesystem
233238
234239* accounting (Parameter) - Specify accounting subsystem support, Allowed Values:
@@ -281,7 +286,7 @@ parameters documented above also apply to AIX systems.
281286* vix (Parameter) - Specify that the file system can allocate inode extents smaller than the default, Allowed Values:
282287 * `true`
283288 * `false`
284- * volume_group (Parameter) - Volume group that the file system should be greated on.
289+ * volume_group (Parameter) - Volume group that the file system should be created on.
285290
286291# ## logical_volume
287292
@@ -349,7 +354,7 @@ migration, etc.
349354
350355# # Deprecation Notice
351356
352- Some facts reported by this module are being deprecated in favor of upcomming structured facts. The following facts are being deprecated :
357+ Some facts reported by this module are being deprecated in favor of upcoming structured facts. The following facts are being deprecated :
353358
354359* `lvm_vg_*`
355360* `lvm_vg_*_pvs`
@@ -395,4 +400,4 @@ Raphaël Pinson <raphael.pinson@camptocamp.com>
395400
396401Garrett Honeycutt <code@garretthoneycutt.com>
397402
398- [More Contributers ](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors)
403+ [More Contributors ](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors)
0 commit comments