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 *
auth.conf (default):
# allow nodes to retrieve their own catalog (ie their configuration)
path ~ ^/catalog/([^/]+)$
method find
allow $1
# allow all nodes to access the certificates services
path /certificate_revocation_list/ca
method find
allow *
# allow all nodes to store their reports
path /report
method save
allow *
# inconditionnally allow access to all files services
# which means in practice that fileserver.conf will
# still be used
path /file
allow *
### Unauthenticated ACL, for clients for which the current master
doesn't
### have a valid certificate
# allow access to the master CA
path /certificate/ca
auth no
method find
allow *
path /certificate/
auth no
method find
allow *
path /certificate_request
auth no
method find, save
allow *
# this one is not stricly necessary, but it has the merit
# to show the default policy which is deny everything else
path /
auth any
Definition in class:
file { "/tmp/status.dat":
source => "puppet://<hostname of my puppetmaster>/
webspheremq/status.dat"
}
I am getting the following error:
Failed to retrieve current state of resource: Error 400 on SERVER: Not
authorized to call find on /file_metadata/webspheremq/status.dat Could
not retrieve file metadata for puppet://<hostname of my puppetmaster>/
webspheremq/status.dat: Error 400 on SERVER: Not authorized to call
find on /file_metadata/webspheremq/status.dat at /etc/puppet/manifests/
classes/webspheremq.pp:20
What is the problem here? What is file_metadata? Is this folder
suppose to exist on my master?
Kind regards
Maciej
--
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.