Skip to content

Commit aae2e44

Browse files
authored
Merge pull request #329 from kenyon/readme-fixes
Documentation fixes
2 parents dd3c5d3 + 43ca389 commit aae2e44

File tree

4 files changed

+31
-26
lines changed

4 files changed

+31
-26
lines changed

README.md

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ class { 'lvm':
7878
This could be really convenient when used with hiera:
7979

8080
```puppet
81-
include ::lvm
81+
include lvm
8282
```
83+
8384
and
85+
8486
```yaml
8587
---
8688
lvm::volume_groups:
@@ -104,7 +106,9 @@ lvm::volume_groups:
104106
mountpath: /var/backups
105107
mountpath_require: true
106108
```
109+
107110
or to just build the VG if it does not exist
111+
108112
```yaml
109113
---
110114
lvm::volume_groups:
@@ -142,23 +146,26 @@ If you need a more complex configuration, you'll need to build the
142146
resources 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-
228234
There are a number of AIX specific parameters and properties. The regular
229235
parameters 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 <[email protected]>
395400

396401
Garrett Honeycutt <[email protected]>
397402

398-
[More Contributers](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors)
403+
[More Contributors](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors)

REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ Specify that the file system can allocate inode extents smaller than the default
722722

723723
##### <a name="-filesystem--volume_group"></a>`volume_group`
724724

725-
Volume group that the file system should be greated on. AIX only.
725+
Volume group that the file system should be created on. AIX only.
726726

727727
### <a name="logical_volume"></a>`logical_volume`
728728

@@ -1204,7 +1204,7 @@ Device to create the filesystem on, this can be a device or a logical volume. AI
12041204

12051205
Data type: `Optional[String]`
12061206

1207-
Volume group that the file system should be greated on. AIX only.
1207+
Volume group that the file system should be created on. AIX only.
12081208

12091209
### <a name="ensure_lv"></a>`ensure_lv`
12101210

lib/puppet/type/filesystem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
end
139139

140140
newparam(:volume_group) do
141-
desc 'Volume group that the file system should be greated on. AIX only.'
141+
desc 'Volume group that the file system should be created on. AIX only.'
142142
end
143143

144144
autorequire(:logical_volume) do

tasks/ensure_fs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@
115115
"type": "Optional[String]"
116116
},
117117
"volume_group": {
118-
"description": "Volume group that the file system should be greated on. AIX only.",
118+
"description": "Volume group that the file system should be created on. AIX only.",
119119
"type": "Optional[String]"
120120
}
121121
}
122-
}
122+
}

0 commit comments

Comments
 (0)