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/file.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/file.rb')
-rw-r--r-- | lib/puppet/interface/file.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/interface/file.rb b/lib/puppet/interface/file.rb index 53c476d7c..98a869153 100644 --- a/lib/puppet/interface/file.rb +++ b/lib/puppet/interface/file.rb @@ -1,6 +1,6 @@ -require 'puppet/interface' +require 'puppet/interface/indirector' -class Puppet::Interface::File < Puppet::Interface +class Puppet::Interface::File < Puppet::Interface::Indirector def self.indirection_name :file_bucket_file end |