summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/interface/file.rb')
-rw-r--r--lib/puppet/interface/file.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/puppet/interface/file.rb b/lib/puppet/interface/file.rb
index 98a869153..9060c4042 100644
--- a/lib/puppet/interface/file.rb
+++ b/lib/puppet/interface/file.rb
@@ -1,7 +1,5 @@
require 'puppet/interface/indirector'
-class Puppet::Interface::File < Puppet::Interface::Indirector
- def self.indirection_name
- :file_bucket_file
- end
+class Puppet::Interface::Indirector.new(:file) do
+ set_indirection_name :file_bucket_file
end