Issue #18565 has been updated by Paul Tötterman.

Status changed from Needs More Information to Rejected

> You should use the puppetlabs registry module to configure the dns suffixes :)

http://support.microsoft.com/kb/275553 seems to imply that this no longer works 
on Windows 7.

> What does your filebucket resource look like? And a file resource that is 
> configured to backup into that filebucket?
> 
> Are you sure that the filebucket resource uses a fqdn, something like:

Ah, good thinking. It did not have the fqdn.

> Or alternatively, use the  value `$servername` so that it uses the same 
> setting as `Puppet[:server]`.

$servername worked beautifully, thank you!
----------------------------------------
Bug #18565: filebucket doesn't seem to inherit server
https://projects.puppetlabs.com/issues/18565#change-81491

Author: Paul Tötterman
Status: Rejected
Priority: Normal
Assignee: 
Category: windows
Target version: 
Affected Puppet version: 3.0.2
Keywords: windows dns filebucket config
Branch: 


I have a puppet master at puppet.example.com. Windows machines in the same 
zone, e.g. win1.example.com have been using puppet just fine.

Now I installed windows machine in another zone, sub.example.com, with the 
machine being, e.g. win2.sub.example.com. That machine didn't find the puppet 
server (because windows doesn't get dns search list from dhcp, sigh) and I get 
the "getaddrinfo: The storage control blocks were destroyed" -messages 
referenced in the windows troubleshooting documentation. So I edit puppet.conf, 
and make sure that the line with server = has the fqdn, puppet.example.com. 
Puppet is able to start the run.

I manage the puppet.conf file using puppet, so when the time comes to update 
that, puppet tries to make a backup into a server filebucket and fails with 
"getaddrinfo: The storage control blocks were destroyed". I checked the 
effective config using puppet agent --genconfig, and didn't find a mention of a 
short hostname for the puppet master. The problem disappeared when I added a 
CNAME from puppet.sub.example.com -> puppet.example.com.

So it seems to me like puppet is still using the dns shortname somewhere even 
though the fqdn is configured in puppet.conf.


-- 
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://projects.puppetlabs.com/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 puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to