diff options
| author | Luke Kanies <luke@madstop.com> | 2007-10-22 22:33:06 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-10-22 22:33:06 -0500 |
| commit | 7fa99b08f9aa3777fba82f24eb5bb391f3758f48 (patch) | |
| tree | a9dc23c0cdf3ecbc4a177086a5c699ad4f3b00f2 /lib/puppet/indirector/module_files.rb | |
| parent | 688fcdf11a685dfda297beff50de8d4c751494d9 (diff) | |
| download | puppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.tar.gz puppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.tar.xz puppet-7fa99b08f9aa3777fba82f24eb5bb391f3758f48.zip | |
Link handling is now in the file serving classes.
This was done by putting all of the functionality in the
Content and Metadata class (actually, in a new base class
for them).
There are still some issues, and there need to be integration
tests between the :local (soon to be renamed :file) termini for
these classes.
Diffstat (limited to 'lib/puppet/indirector/module_files.rb')
| -rw-r--r-- | lib/puppet/indirector/module_files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/indirector/module_files.rb b/lib/puppet/indirector/module_files.rb index 815da2efe..12794e4c7 100644 --- a/lib/puppet/indirector/module_files.rb +++ b/lib/puppet/indirector/module_files.rb @@ -30,7 +30,7 @@ class Puppet::Indirector::ModuleFiles < Puppet::Indirector::Terminus def find(key, options = {}) return nil unless path = find_path(key, options) - return model.new(path) + return model.new(path, :links => options[:links]) end # Try to find our module. |
