Signed-off-by: James Turnbull <[email protected]>
---
 lib/puppet/file_serving/fileset.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/puppet/file_serving/fileset.rb 
b/lib/puppet/file_serving/fileset.rb
index fdbcf93..438a1b7 100644
--- a/lib/puppet/file_serving/fileset.rb
+++ b/lib/puppet/file_serving/fileset.rb
@@ -59,6 +59,7 @@ class Puppet::FileServing::Fileset
   end
 
   def initialize(path, options = {})
+    path = path.chomp("/")
     raise ArgumentError.new("Fileset paths must be fully qualified") unless 
File.expand_path(path) == path
 
     @path = path
-- 
1.7.3.4

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to