Issue #2456 has been reported by Till Maas.

----------------------------------------
Bug #2456: source:/// not always working if puppetmaster does not listen on 
every interface
http://projects.reductivelabs.com/issues/2456

Author: Till Maas
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


Setup:

puppetmaster and puppetd run on the same host:
Network setup:
eth0: 192.168.0.1 / www.example.com
eth1: 192.168.1.1 / puppet.example.com
Default route is through eth0.

puppet.conf: 
[puppetmasterd]
bindaddress=192.168.1.1

[puppetd]
server=192.168.1.1

To check the setup, facter should output something like this (fqdn must not be 
the fqdn of the ipaddress used to bind puppetmaster on and ipaddress not the 
address that puppetmaster is bound on):
# facter | egrep "(fqdn|ipaddress)"
fqdn => www.example.com
ipaddress => 192.168.0.1
ipaddress_eth0 => 192.168.0.1
ipaddress_eth1 => 192.168.1.1

Now if a module contains a file with this source:

source => 'puppet:///module/file'

Then puppetd suceeds to get the catalog via a connection to 192.168.1.1, but to 
get the file, it opens a connection to www.example.com (the result of the fqdn 
fact). This fails, because puppetmaster only listens on 192.168.1.1 and not 
192.168.0.1 / www.example.com.

The documentation also does not mention, that this would fail:

http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
| You can also leave out the server name, in which case puppetd will fill in 
the name of its configuration server
[...]
| puppetd will connect to the puppet server that it received the manifest from

I found this bug while I used puppet-0.24.8-1.fc10


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to