I am attempting to get my machines configured properly so I can use puppetrun on my puppetmaster to get clients to update themselves during my development/testing of new recipes.
I understand about listen = true in the puppetd.conf file, and I also have learned about the namespaceauth.conf file,
where I put stuff like:
[puppetrunner]
allow puppet.mydomain.com
This was all I needed to get machines on the same LAN as my puppetmaster to work, but it didn't work across firewalls to machines in a colo.
From router/firewall logs, it appears that the puppetmaster needs to connect to port 8139 of the machine running puppetd.
I wasn't able to find this clearly documented, hence this email.
Regards,
Don
Hello,
I am attempting to get my machines configured properly so I can use puppetrun on my puppetmaster to get clients to update themselves during my development/testing of new recipes.
I understand about listen = true in the puppetd.conf file, and I also have learned about the namespaceauth.conf file,
where I put stuff like:
[puppetrunner]
allow puppet.mydomain.com
This was all I needed to get machines on the same LAN as my puppetmaster to work, but it didn't work across firewalls to machines in a colo.
From router/firewall logs, it appears that the puppetmaster needs to connect to port 8139 of the machine running puppetd.
I wasn't able to find this clearly documented, hence this email.
Regards,
Don
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Client:
cat puppet.conf
[main]
server=puppetmaster.mydomain.com
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
[puppetd]
listen=true
cat namespaceauth.conf
[puppetrunner]
allow puppetmaster.mydomain.com
On puppetmaster:
cat namespaceauth.com
[fileserver]
allow *.mydomain.com
[puppetmaster]
allow *.mydomain.com
[puppetrunner]
allow *.mydomain.com
I ran puppetrun with
#puppetrun --host client.mydomain.com
But it doesn't looks like the client get updated and exits with
"Failed to load ruby LDAP library. LDAP functionality will not be
available
Finished"
Also, I dont see any traffic on port 8139 and 8140 while running
tcpdump.Those two machines are on same LAN and no firewall between
them. Not sure what I have been missing. any help would be
appreciated.
Thanks,
grg350
> > puppet-users...@googlegroups.com<puppet-users%2Bunsubscribe@google groups.com>
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
L'ennui est contre-r�volutionnaire