Hey guys! I have hundreds of freebsd servers to manage, so i try to deploy puppet on my servers. The version of puppet client i used is 0.25.4 , while puppetmaster uses the same version , which is a debian system. The problems i encountered are as follows: 1. when i run "puppetd -t -d " on client side, it returns "err: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: bjchinanetxxx.xxx.domainname .(xxx.xxx.xxx.xxx) access to /catalog/bjchinanetxxx.xxx.domainname [find] authenticated". File /etc/puppet/auth.conf on master side is as default , path ~ ^/catalog/([^/]+)$ method find allow $1 then i modified "allow $1 " to allow *" to solve the problem ,but i don''t understand why this problem comes out on freebsd . When i tested on debian , the default /etc/puppet/auth.conf is ok. 2. when i tried to use exec resource to run script to do sth , sometimes it returned 1 instead of 0 , even i put ''exit 0'' at the end of my script.........@@ I''m so confused..... -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Russell Jackson
2010-Sep-14 22:07 UTC
Re: [Puppet Users] Problems when puppet runs on freebsd
On 09/14/2010 01:00 AM, daniel wrote:> Hey guys! I have hundreds of freebsd servers to manage, so i try to > deploy puppet on my servers. The version of puppet client i used is > 0.25.4 , while puppetmaster uses the same version , which is a debian > system. The problems i encountered are as follows: > > 1. when i run "puppetd -t -d " on client side, it returns "err: Could > not retrieve catalog from remote server: Error 403 on SERVER: > Forbidden request: bjchinanetxxx.xxx.domainname .(xxx.xxx.xxx.xxx) > access to /catalog/bjchinanetxxx.xxx.domainname [find] authenticated". > File /etc/puppet/auth.conf on master side is as default , > path ~ ^/catalog/([^/]+)$ > method find > allow $1 > > then i modified "allow $1 " to allow *" to solve the problem ,but i > don''t understand why this problem comes out on freebsd . When i tested > on debian , the default /etc/puppet/auth.conf is ok. > > > 2. when i tried to use exec resource to run script to do sth , > sometimes it returned 1 instead of 0 , even i put ''exit 0'' at the end > of my script.........@@ I''m so confused..... > >Any reason why you''re not running 2.6.1 out of ports? -- Russell A Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.