yesn 发表于 2018-8-3 06:45:27

[puppet 问题解决]Error 400 on SERVER: Not authorized to call find on

  原来是fileserver.conf 中对应的目录没有配置权限,在对应的目录设置allow * 即可 ,如下:
  
  path /usr/local/puppet/php1
  allow *
  
  path /usr/local/puppet/php2
  allow *
  再重启puppet服务,在客户端测试
  # puppet agent --test --server=master.puppet.com --no-daemonize --verbose
  info: Caching catalog for client1.puppet.com
  info: Applying configuration version '1373362669'
  notice: /File/ensure: defined content as '{md5}e8f670a8dc2232aa0d4528d3129167f7'
  notice: /File/ensure: defined content as '{md5}a336dc9e0fac0e18d5be124eafda5cb9'
  notice: Finished catalog run in 0.64 seconds
页: [1]
查看完整版本: [puppet 问题解决]Error 400 on SERVER: Not authorized to call find on