diff options
author | Luke Kanies <luke@puppetlabs.com> | 2011-02-23 00:20:15 -0800 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2011-02-23 00:20:15 -0800 |
commit | 59a648502a8f09948bd2d25a72a9099f7740e108 (patch) | |
tree | 3de97951a28a4710df603b86b69dec67211280bb /lib/puppet/interface.rb | |
parent | 4fa54d02a2806e8fde54da9bb7e4d6735b3cffe4 (diff) | |
download | puppet-59a648502a8f09948bd2d25a72a9099f7740e108.tar.gz puppet-59a648502a8f09948bd2d25a72a9099f7740e108.tar.xz puppet-59a648502a8f09948bd2d25a72a9099f7740e108.zip |
Adding Application options to Interfaces
This allows all of the actions to react to the CLI
options.
I've also removed the unnecessary 'name' variables I
was using in various places - they were just the first
of the arguments, and they weren't actually always
names.
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'lib/puppet/interface.rb')
-rw-r--r-- | lib/puppet/interface.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb index f8791e51f..3fb61c8a8 100644 --- a/lib/puppet/interface.rb +++ b/lib/puppet/interface.rb @@ -80,7 +80,7 @@ class Puppet::Interface @name || self.to_s.sub(/.+::/, '').downcase end - attr_accessor :type, :verb, :name, :arguments + attr_accessor :type, :verb, :name, :arguments, :options # Print the configuration for the current terminus class action :showconfig do |*args| |