summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-02-28 10:30:19 -0800
committernfagerlund <nick.fagerlund@gmail.com>2011-02-28 10:30:19 -0800
commitc80a77d0d141cd933db3f4b124b992d767577f08 (patch)
tree70750342d3de8f779cd3485e03f93644a5f2dbe7
parent27863c3ab6d54bfa5d647770f35ef7ce10e1ac20 (diff)
downloadpuppet-c80a77d0d141cd933db3f4b124b992d767577f08.tar.gz
puppet-c80a77d0d141cd933db3f4b124b992d767577f08.tar.xz
puppet-c80a77d0d141cd933db3f4b124b992d767577f08.zip
(#6509) Inline docs: Fix broken code blocks in zpool type
This one was subtle. If the first paragraph of a Markdown string embedded in a type isn't multiple lines, a code block immediately following it will not be recognized. So, hard-wrap or die, I guess.
-rwxr-xr-xlib/puppet/type/zpool.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/puppet/type/zpool.rb b/lib/puppet/type/zpool.rb
index df06522e8..40ee8f286 100755
--- a/lib/puppet/type/zpool.rb
+++ b/lib/puppet/type/zpool.rb
@@ -40,9 +40,10 @@ module Puppet
end
newproperty(:mirror, :array_matching => :all, :parent => Puppet::Property::MultiVDev) do
- desc "List of all the devices to mirror for this pool. Each mirror should be a space separated string:
+ desc "List of all the devices to mirror for this pool. Each mirror should be a
+ space separated string:
- mirror => [\"disk1 disk2\", \"disk3 disk4\"]
+ mirror => [\"disk1 disk2\", \"disk3 disk4\"],
"
@@ -52,9 +53,10 @@ module Puppet
end
newproperty(:raidz, :array_matching => :all, :parent => Puppet::Property::MultiVDev) do
- desc "List of all the devices to raid for this pool. Should be an array of space separated strings:
-
- raidz => [\"disk1 disk2\", \"disk3 disk4\"]
+ desc "List of all the devices to raid for this pool. Should be an array of
+ space separated strings:
+
+ raidz => [\"disk1 disk2\", \"disk3 disk4\"],
"