Puppet error 400 on server not authorized to call find

While trying to play with puppet I got error saying that “Could not evaluate: Error 400 on SERVER: Not authorized to call find ……”

The reason for this issue is access permissions for puppet clients.

We need to set proper access permissions in “/etc/puppet/fileserver.conf” file.

Lest say if our puppet master hostname is master.example.com and client hostname is client.example.com, we should add following lines in /etc/puppet/fileserver.conf

[files]
  path /etc/puppet/files
  allow *.example.com

The value allow *.example.com will allow all hosts under example.com.

Instead on of host name we can also use IP address of client or CIDR (Classless Inter-Domain Routing (CIDR)) 

-Sany

Advertisements