diff options
| author | Luke Kanies <luke@madstop.com> | 2007-10-18 12:24:05 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-10-18 12:24:05 -0500 |
| commit | 815618568d88daf373fb057333c962e31a4b748b (patch) | |
| tree | cf794db2fca50d312950abbf79fdbaeb0a649b7f /lib/puppet/file_serving | |
| parent | 2718b638d1df7fe37941952e396d84d1eff1efc9 (diff) | |
| download | puppet-815618568d88daf373fb057333c962e31a4b748b.tar.gz puppet-815618568d88daf373fb057333c962e31a4b748b.tar.xz puppet-815618568d88daf373fb057333c962e31a4b748b.zip | |
Renaming the file_serving/{content,metadata} indirections
so that they make more sense in the REST API, and creating
stub tests for the indirection termini. Now it's on to
create the rest of the tests for them.
Diffstat (limited to 'lib/puppet/file_serving')
| -rw-r--r-- | lib/puppet/file_serving/content.rb | 2 | ||||
| -rw-r--r-- | lib/puppet/file_serving/metadata.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/file_serving/content.rb b/lib/puppet/file_serving/content.rb index 773ae89a5..216072e49 100644 --- a/lib/puppet/file_serving/content.rb +++ b/lib/puppet/file_serving/content.rb @@ -10,7 +10,7 @@ require 'puppet/file_serving' # asked for. class Puppet::FileServing::Content extend Puppet::Indirector - indirects :content, :terminus_class => :file + indirects :file_content, :terminus_class => :file attr_reader :path diff --git a/lib/puppet/file_serving/metadata.rb b/lib/puppet/file_serving/metadata.rb index 69211b2d0..29a395c6a 100644 --- a/lib/puppet/file_serving/metadata.rb +++ b/lib/puppet/file_serving/metadata.rb @@ -12,7 +12,7 @@ class Puppet::FileServing::Metadata include Puppet::Util::Checksums extend Puppet::Indirector - indirects :metadata, :terminus_class => :ral + indirects :file_metadata, :terminus_class => :ral attr_reader :path, :owner, :group, :mode, :checksum_type, :checksum |
