diff --git a/README.md b/README.md index d080db72..dcac2a48 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,11 @@ class { 'lvm': This could be really convenient when used with hiera: ```puppet -include ::lvm +include lvm ``` + and + ```yaml --- lvm::volume_groups: @@ -104,7 +106,9 @@ lvm::volume_groups: mountpath: /var/backups mountpath_require: true ``` + or to just build the VG if it does not exist + ```yaml --- lvm::volume_groups: @@ -142,23 +146,26 @@ If you need a more complex configuration, you'll need to build the resources out yourself. ## Optional Values - The `unless_vg` (physical_volume) and `createonly` (volume_group) will check - to see if "myvg" exists. If "myvg" does exist then they will not modify - the physical volume or volume_group. This is useful if your environment - is built with certain disks but they change while the server grows, shrinks - or moves. - Example: +The `unless_vg` (physical_volume) and `createonly` (volume_group) will check +to see if "myvg" exists. If "myvg" does exist then they will not modify +the physical volume or volume_group. This is useful if your environment +is built with certain disks but they change while the server grows, shrinks +or moves. + +Example: + ```puppet - physical_volume { "/dev/hdc": - ensure => present, - unless_vg => "myvg" - } - volume_group { "myvg": - ensure => present, - physical_volumes => "/dev/hdc", - createonly => true - } +physical_volume { "/dev/hdc": + ensure => present, + unless_vg => "myvg", +} + +volume_group { "myvg": + ensure => present, + physical_volumes => "/dev/hdc", + createonly => true, +} ``` ## Type Documentation @@ -224,11 +231,9 @@ resources out yourself. ## AIX Specific Type Documentation - There are a number of AIX specific parameters and properties. The regular parameters documented above also apply to AIX systems. - ### filesystem * accounting (Parameter) - Specify accounting subsystem support, Allowed Values: @@ -281,7 +286,7 @@ parameters documented above also apply to AIX systems. * vix (Parameter) - Specify that the file system can allocate inode extents smaller than the default, Allowed Values: * `true` * `false` -* volume_group (Parameter) - Volume group that the file system should be greated on. +* volume_group (Parameter) - Volume group that the file system should be created on. ### logical_volume @@ -349,7 +354,7 @@ migration, etc. ## Deprecation Notice -Some facts reported by this module are being deprecated in favor of upcomming structured facts. The following facts are being deprecated: +Some facts reported by this module are being deprecated in favor of upcoming structured facts. The following facts are being deprecated: * `lvm_vg_*` * `lvm_vg_*_pvs` @@ -395,4 +400,4 @@ Raphaƫl Pinson Garrett Honeycutt -[More Contributers](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors) +[More Contributors](https://github.com/puppetlabs/puppetlabs-lvm/graphs/contributors) diff --git a/REFERENCE.md b/REFERENCE.md index 5133f8cd..34e22362 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -722,7 +722,7 @@ Specify that the file system can allocate inode extents smaller than the default ##### `volume_group` -Volume group that the file system should be greated on. AIX only. +Volume group that the file system should be created on. AIX only. ### `logical_volume` @@ -1204,7 +1204,7 @@ Device to create the filesystem on, this can be a device or a logical volume. AI Data type: `Optional[String]` -Volume group that the file system should be greated on. AIX only. +Volume group that the file system should be created on. AIX only. ### `ensure_lv` diff --git a/lib/puppet/type/filesystem.rb b/lib/puppet/type/filesystem.rb index 15b60a2b..fae51d66 100644 --- a/lib/puppet/type/filesystem.rb +++ b/lib/puppet/type/filesystem.rb @@ -138,7 +138,7 @@ end newparam(:volume_group) do - desc 'Volume group that the file system should be greated on. AIX only.' + desc 'Volume group that the file system should be created on. AIX only.' end autorequire(:logical_volume) do diff --git a/tasks/ensure_fs.json b/tasks/ensure_fs.json index 2a79bcee..609e60a0 100644 --- a/tasks/ensure_fs.json +++ b/tasks/ensure_fs.json @@ -115,8 +115,8 @@ "type": "Optional[String]" }, "volume_group": { - "description": "Volume group that the file system should be greated on. AIX only.", + "description": "Volume group that the file system should be created on. AIX only.", "type": "Optional[String]" } } -} \ No newline at end of file +}