Hi there,

Just wanted to let you know:  I'm currently trying to upgrade Puppet
to 2.6 at my company, but file serving appears to have a bug.  The
following snippet:

    file { "/var/www/company.com/html":
        mode => 644,
        owner  => "root",
        group  => "root",
        recurse => true,
        source => 'puppet:///conf/services/apache2/html'
    }

Gives the following error:

err: /Stage[main]/Webserver/File[/var/www/company.com/html]: Failed to
generate additional resources using 'eval_generate': Error 400 on
SERVER: Fileset paths must be fully qualified

When I disable the check in file_serving/fileset.rb:

  def initialize(path, options = {})
    #raise ArgumentError.new("Fileset paths must be fully qualified")
unless File.expand_path(path) == path

Then it works correctly, although a message is always printed for this resource:

info: /Stage[main]/Webserver/File[/var/www/company.com/html]: Storing
newly-audited value  for content

Would be nice to fix.

Cheers,
-- 
Jean-Baptiste Quenot

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to