So I've been through the fileserver documentation time and time again, and
I can't make out what I'm doing wrong here.

Here's the situation:

--- fileserver.conf:
[files]
  path /etc/puppet/files
  allow *

--- in my node declaration for hostname
file { '/tmp/testfile':
    ensure => present,
    source => [
                "puppet:///files/hostname/tmp/testfile",
    ]
 }

I have "testfile" on the puppetmaster in:
/etc/puppet/files/hostname/tmp

When I test this, I get the following:

erik@hostname:~$ sudo puppet agent -t --noop
info: Caching catalog for hostname
info: Applying configuration version '1364850516'
err: /Stage[main]//Node[hostname.example.com]/File[/tmp/testfile]: Could
not evaluate: Could not retrieve information from environment production
source(s) puppet:///files/hostname/tmp/testfile at
/etc/puppet/manifests/nodes.pp:69
notice: Finished catalog run in 0.71 seconds

Am I misunderstanding something here? As mentioned before, I've been
through the fileserver documentation (
http://docs.puppetlabs.com/guides/file_serving.html), and my configuration
seem to align with documentation on how custom mount points should be set
up.

I'm running puppet 2.7.11.

Thank you!
-Erik

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to