diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-03-31 16:48:50 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-04 10:19:53 -0700 |
| commit | 8723b1c2102a181d23c9fe4ede7d58294f7c18ba (patch) | |
| tree | deb5ed08927620d588e2f55884b210d92a6065bb /lib | |
| parent | 3d88808270e9a0cb848a66825c66676598559dc3 (diff) | |
| download | puppet-8723b1c2102a181d23c9fe4ede7d58294f7c18ba.tar.gz puppet-8723b1c2102a181d23c9fe4ede7d58294f7c18ba.tar.xz puppet-8723b1c2102a181d23c9fe4ede7d58294f7c18ba.zip | |
(#6749) code and test cleanup of Application/StringBase.
This removes dead code now we have terminus in the base string, and disables
some tests on StringBase app until they can be rewritten.
Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/application/indirection_base.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/puppet/application/indirection_base.rb b/lib/puppet/application/indirection_base.rb index 61cfb435e..cfa1ea529 100644 --- a/lib/puppet/application/indirection_base.rb +++ b/lib/puppet/application/indirection_base.rb @@ -1,16 +1,4 @@ require 'puppet/application/string_base' class Puppet::Application::IndirectionBase < Puppet::Application::StringBase - attr_accessor :terminus, :indirection - - def setup - super - - # REVISIT: need to implement this in terms of the string options, eh. - if string.respond_to?(:indirection) - raise "Could not find data type #{type} for application #{self.class.name}" unless string.indirection - - string.set_terminus(terminus) if terminus - end - end end |
