summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-17 19:20:49 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-19 10:33:22 -0700
commit266f937ed7d859fb2aee94c76e1a20539357c1eb (patch)
tree575c9d0497fdc1e9fd629dd73573ef410c3ed388 /lib/puppet/interface
parent32c667c79bc0d5151580ea79719f28739945bfb1 (diff)
downloadpuppet-266f937ed7d859fb2aee94c76e1a20539357c1eb.tar.gz
puppet-266f937ed7d859fb2aee94c76e1a20539357c1eb.tar.xz
puppet-266f937ed7d859fb2aee94c76e1a20539357c1eb.zip
(#6962) Add 'description' to faces and action.
This adds the 'description' method to the faces and actions, as well as structured testing to ensure that the DSL works as expected. Reviewed-By: Max Martin <max@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface')
-rw-r--r--lib/puppet/interface/action.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/interface/action.rb b/lib/puppet/interface/action.rb
index d2d4facaa..860ce4058 100644
--- a/lib/puppet/interface/action.rb
+++ b/lib/puppet/interface/action.rb
@@ -28,7 +28,7 @@ class Puppet::Interface::Action
########################################################################
# Documentation stuff, whee!
- attr_accessor :summary
+ attr_accessor :summary, :description
def summary=(value)
value = value.to_s
value =~ /\n/ and