On Fri, Jan 21, 2011 at 09:33, James Turnbull <[email protected]> wrote:
>
> 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

That seems solid to me.
    Daniel
-- 
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <[email protected]>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons

-- 
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