I think you need to edit the auth.conf file to allow the puppet client
access.
On Friday, September 14, 2012 5:12:49 PM UTC+3, itJunky wrote:
>
> I have a directive like this:
>
> file { "/etc/sudoers":
> owner => root,
> group => root,
> mode => 440,
> source => "puppet:///modules/sudo/sudoers"
> }
>
> When i try to get this file on puppet agent, i see error:
> err: /Stage[main]/Sudo/File[/etc/sudoers]: Could not evaluate: Error 403
> on SERVER: Forbidden request: puppet-client(192.168.200.170) access to
> /file_metadata/modules/sudo/sudoers [find] authenticated at line 104 Could
> not retrieve file metadata for puppet:///modules/sudo/sudoers: Error 403 on
> SERVER: Forbidden request: puppet-client(192.168.200.170) access to
> /file_metadata/modules/sudo/sudoers [find] authenticated at line 104 at
> /etc/puppet/manifests/site.pp:12
>
> In this error message i see a path "/file_metadata/modules/sudo/sudoers"!
> Where i can find directory "file_metadata"?
>
> I trying to change any of directives like vardir, modulepath and much
> more, but not anyone of path not work as /file_metadata/ =(
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/Enei8SKQLjkJ.
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.