diff options
author | Dan Bode <bodepd@gmail.com> | 2011-02-13 02:55:42 -0600 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2011-02-20 15:17:27 -0800 |
commit | a54ee1e292238145bb0def2af6cf9ac22f2acd68 (patch) | |
tree | a578d867d2d7381bec94ba3fd3a8ea62a6619d1e /lib/puppet/interface/certificate_request.rb | |
parent | 7e3a02339a660a76019bf20243a7068325f1af68 (diff) | |
download | puppet-a54ee1e292238145bb0def2af6cf9ac22f2acd68.tar.gz puppet-a54ee1e292238145bb0def2af6cf9ac22f2acd68.tar.xz puppet-a54ee1e292238145bb0def2af6cf9ac22f2acd68.zip |
(#2) Should not assume interfaces have indirectors
The initial work assumed that all interfaces were just
skins on an indirected data type, but some interfaces will
be more abstract than that.
This commit removes that assumption by extracting all of
the indirector work into a new Indirector subclass of
Interface and then makes all of the new interfaces a subclass
of that rather than of Interface itself.
Diffstat (limited to 'lib/puppet/interface/certificate_request.rb')
-rw-r--r-- | lib/puppet/interface/certificate_request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/interface/certificate_request.rb b/lib/puppet/interface/certificate_request.rb index 30ba5583a..29dc73b9a 100644 --- a/lib/puppet/interface/certificate_request.rb +++ b/lib/puppet/interface/certificate_request.rb @@ -1,4 +1,4 @@ -require 'puppet/interface' +require 'puppet/interface/indirector' -class Puppet::Interface::Certificate_request < Puppet::Interface +class Puppet::Interface::Certificate_request < Puppet::Interface::Indirector end |