diff options
author | Luke Kanies <luke@madstop.com> | 2007-10-19 17:35:40 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-10-19 17:35:40 -0500 |
commit | 08099b7a383987e292357f285e05933e10205660 (patch) | |
tree | c8f08a3afca5c9b45f965c7c8d051023170ea0d5 /lib/puppet/indirector/rest.rb | |
parent | ec396729d76b26d0d08c0bd633f28fa3c68c414c (diff) | |
download | puppet-08099b7a383987e292357f285e05933e10205660.tar.gz puppet-08099b7a383987e292357f285e05933e10205660.tar.xz puppet-08099b7a383987e292357f285e05933e10205660.zip |
File serving now works. I've tested a couple of ways to
use it, and added integration tests at the most important
hook points.
This provides the final class structure for all of these classes,
but a lot of the class names are pretty bad, so I'm planning on
going through all of them (especially the file_server stuff) and
renaming.
The functionality is all here for finding files, though (finally).
Once the classes are renamed, I'll be adding searching ability
(which will enable the recursive file copies) and then adding
the link management and enabling ignoring files.
Diffstat (limited to 'lib/puppet/indirector/rest.rb')
-rw-r--r-- | lib/puppet/indirector/rest.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/indirector/rest.rb b/lib/puppet/indirector/rest.rb index 8d51aff09..7b7c932c4 100644 --- a/lib/puppet/indirector/rest.rb +++ b/lib/puppet/indirector/rest.rb @@ -2,7 +2,7 @@ require 'puppet/indirector/rest' # Access objects via REST class Puppet::Indirector::REST < Puppet::Indirector::Terminus - def find(name) + def find(name, options = {}) indirection.model.new(name) end end |