Issue #2456 has been updated by Till Maas.
It is actually not the retrieval that fails here, but the backup I configured
with:
filebucket { main: server => $servername }
File { backup => main }
But there seems to be no suitable replacement for $servername, something like
$config_server or similiar that expands to the server specified for puppetd in
te config would be useful here.
----------------------------------------
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:
<pre>
eth0: 192.168.0.1 / www.example.com
eth1: 192.168.1.1 / puppet.example.com
</pre>
Default route is through eth0.
puppet.conf:
<pre>
[puppetmasterd]
bindaddress=192.168.1.1
[puppetd]
server=192.168.1.1
</pre>
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):
<pre>
# 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
</pre>
Now if a module contains a file with this source:
<pre>
source => 'puppet:///module/file'
</pre>
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
<pre>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</pre>
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
-~----------~----~----~----~------~----~------~--~---