On Oct 26, 2010, at 3:03 AM, Maciej Skrzetuski wrote:
> Hello there,
>
> I am very new to puppet and tried to copy some files (namely /etc/
> puppet/manifests/files/websphermq/status.dat [on master] to /tmp/
> status.dat [on puppet]) from master to the puppets. My setup is as
> follows:
>
> Puppet 0.25.5
>
> fileserver.conf:
> [webspheremq]
> path /etc/puppet/manifests/files/webspheremq
> allow *
>
>
> Definition in class:
>
> file { "/tmp/status.dat":
> source => "puppet://<hostname of my puppetmaster>/
> webspheremq/status.dat"
> }
>
> I am getting the following error:
>
> What is the problem here? What is file_metadata? Is this folder
> suppose to exist on my master?
I don't know what's wrong. That folder doesn't need to be created. It's
possible you have a permissions problem.
Can't you just use the default path created by modules like this:
*) Remove that section from fileserver.conf.
*) Put the file at /etc/puppet/modules/webspheremq/files/status.dat
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.