傀儡( – 主pipe)3.1后wheezy升级

今天我已经更新了木偶客户端和木偶大师Wheezy。

出于某种原因,木偶客户端更新到3.1版本,但主人呆在2.7。 所以我已经从Puppetlabs直接安装了最新的主版本,现在都是3.1了。

root@efikamx-5fb019 ~ # puppet --version 3.1.1 botmaster /etc/puppet # puppet --version 3.1.1 

但是,我注意到它开始产生错误,然后失败:

 root@efikamx-5fb019 ~ # puppet agent --test Info: Retrieving plugin Info: Caching catalog for efikamx-5fb019.botnet.corp.yeri.be Info: Applying configuration version '1367772083' Notice: /Stage[essential]/Repository/Apt::Key[[email protected]]/Exec[apt-key present [email protected]]/returns: executed successfully Error: /Stage[essential]/Repository/File[/etc/apt/sources.list.d/flatturtle.list]: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/files/etc/apt/sources.list.d/flatturtle.list Could not retrieve file metadata for puppet://puppet.corp.yeri.be/files/etc/apt/sources.list.d/flatturtle.list: Error 400 on SERVER: Not authorized to call find on /file_metadata/files/etc/apt/sources.list.d/flatturtle.list 

这是我的auth.conf: http : //pastebin.com/GGCyck95

这是我的fileserver.conf: http : //pastebin.com/XeeTX2a5

这是来自site.pp的片段:

  file { '/etc/apt/sources.list.d/flatturtle.list' : owner => 'root', group => 'root', mode => '0644', source => 'puppet://puppet.corp.yeri.be/files/etc/apt/sources.list.d/flatturtle.list', notify => Exec['update'], } 

我缺less什么来授予访问文件?

修复是修改fileserver.conf,并设置:

 allow * 

代替

 allow fqdn allow_ip ip 

喜欢这个:

 [files] path /srv/puppet allow * # allow *.botnet.corp.yeri.be # allow_ip 172.27.0.0/18 [plugins] allow * # allow *.botnet.corp.yeri.be # allow_ip 172.27.0.0/18