@@ -78,9 +78,11 @@ class { 'lvm':
78
78
This could be really convenient when used with hiera:
79
79
80
80
``` puppet
81
- include :: lvm
81
+ include lvm
82
82
```
83
+
83
84
and
85
+
84
86
``` yaml
85
87
---
86
88
lvm::volume_groups :
@@ -104,7 +106,9 @@ lvm::volume_groups:
104
106
mountpath : /var/backups
105
107
mountpath_require : true
106
108
` ` `
109
+
107
110
or to just build the VG if it does not exist
111
+
108
112
` ` ` yaml
109
113
---
110
114
lvm::volume_groups :
@@ -142,23 +146,26 @@ If you need a more complex configuration, you'll need to build the
142
146
resources out yourself.
143
147
144
148
## 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.
150
149
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
+
152
158
` ` ` 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
+ }
162
169
` ` `
163
170
164
171
# # Type Documentation
@@ -224,11 +231,9 @@ resources out yourself.
224
231
225
232
# # AIX Specific Type Documentation
226
233
227
-
228
234
There are a number of AIX specific parameters and properties. The regular
229
235
parameters documented above also apply to AIX systems.
230
236
231
-
232
237
# ## filesystem
233
238
234
239
* accounting (Parameter) - Specify accounting subsystem support, Allowed Values:
@@ -281,7 +286,7 @@ parameters documented above also apply to AIX systems.
281
286
* vix (Parameter) - Specify that the file system can allocate inode extents smaller than the default, Allowed Values:
282
287
* `true`
283
288
* `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.
285
290
286
291
# ## logical_volume
287
292
@@ -349,7 +354,7 @@ migration, etc.
349
354
350
355
# # Deprecation Notice
351
356
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 :
353
358
354
359
* `lvm_vg_*`
355
360
* `lvm_vg_*_pvs`
395
400
396
401
Garrett Honeycutt <[email protected] >
397
402
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