summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/interface.rb')
-rw-r--r--lib/puppet/interface.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb
index 07e27efa8..27b3584b9 100644
--- a/lib/puppet/interface.rb
+++ b/lib/puppet/interface.rb
@@ -68,8 +68,13 @@ class Puppet::Interface
self.default_format = format.to_sym
end
- attr_accessor :type, :verb, :version, :arguments
- attr_reader :name
+ attr_accessor :summary
+ def summary(value = nil)
+ @summary = value unless value.nil?
+ @summary
+ end
+
+ attr_reader :name, :version
def initialize(name, version, &block)
unless Puppet::Interface::FaceCollection.validate_version(version)