summaryrefslogtreecommitdiffstats
path: root/lib/puppet/face/plugin.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-05-04 16:11:39 -0700
committernfagerlund <nick.fagerlund@gmail.com>2011-05-04 16:11:39 -0700
commit7b71745ac4507375fc452d87e5130e504cef53c8 (patch)
tree1029075197299355c07db9d2557df4db79ec0f93 /lib/puppet/face/plugin.rb
parent358418ce0fece0b3940b5c62c4633d61cb1de7b9 (diff)
downloadpuppet-7b71745ac4507375fc452d87e5130e504cef53c8.tar.gz
puppet-7b71745ac4507375fc452d87e5130e504cef53c8.tar.xz
puppet-7b71745ac4507375fc452d87e5130e504cef53c8.zip
(Maint) Adjust documentation whitespace
The patch from issue #7221 permits indented heredocs. This patch takes advantage of that to make the doc strings less messy.
Diffstat (limited to 'lib/puppet/face/plugin.rb')
-rw-r--r--lib/puppet/face/plugin.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/puppet/face/plugin.rb b/lib/puppet/face/plugin.rb
index f55bd3b28..969d42389 100644
--- a/lib/puppet/face/plugin.rb
+++ b/lib/puppet/face/plugin.rb
@@ -5,27 +5,27 @@ Puppet::Face.define(:plugin, '0.0.1') do
summary "Interact with the Puppet plugin system"
description <<-EOT
-This face provides network access to the puppet master's store of
-plugins. It is intended for use in other faces, rather than for direct
-command line access.
+ This face provides network access to the puppet master's store of
+ plugins. It is intended for use in other faces, rather than for direct
+ command line access.
EOT
notes <<-EOT
-The puppet master can serve Ruby code collected from the lib directories
-of its modules. These plugins can be used on agent nodes to extend
-Facter and implement custom types and providers.
+ The puppet master can serve Ruby code collected from the lib directories
+ of its modules. These plugins can be used on agent nodes to extend
+ Facter and implement custom types and providers.
EOT
action :download do
summary "Download plugins from the configured master"
returns <<-EOT
- An array containing the files actually downloaded.
- This will be empty array when everything was in sync.
- EOT
+ An array containing the files actually downloaded. If all files
+ were in sync, this array will be empty.
+ EOT
notes "This action modifies files on disk without returning any data."
examples <<-EOT
-Retrieve plugins from the puppet master:
+ Retrieve plugins from the puppet master:
- Puppet::Face[:plugin, '0.0.1'].download
+ Puppet::Face[:plugin, '0.0.1'].download
EOT
when_invoked do |options|