Hello,
i search very long for a solution and now i have a solution for this 
problem.
The installed puppet agent not run on german Windows systems as Windows 
service.
I found a solution for the timezone value. If i fix this, i can call puppet 
manualy and it is successful. The service fail.
After many tests i found the problem and i write this here if other user 
have the same problem and search for a solution.

OS: Windows 7/8/2003/2008/2012 GERMAN
Puppet-Client 3.7.1 / 3.7.2 / 3.7.3 / 3.7.4 / 3.7.5
Puppet-Server: 3.7.5 with Foreman 1.5/1.6/1.7

Here is the errormessage from the Puppet-Server and Puppet-Client:
Could not retrieve catalog from remote server: Error 400 on SERVER: Failed 
when searching for node r1000-pc: Failed to find DOMAIN\PC-NAME via exec: 
Execution of '/etc/puppet/node.rb DOMAIN\PC-NAME' returned 1:

The Solution:
remove all umlauts from Puppet Facts
1. problematic fact: C:\Program Files\Puppet 
Labs\Puppet\facter\lib\facter\Timezone.rb
Value=Mitteleurop*ä*ische Zeit
NEW Code:
Facter.add("timezone") do
  setcode do
  "Mitteleuropaeische Zeit"
 end

2. problematic fact: C:\Program Files\Puppet 
Labs\Puppet\facter\lib\facter\id.rb
Value=nt-autorit*ä*t\system (if you run the Service as SYSTEM-User)
You can run the service as a other User without umlauts in the name or 
rename the variable in the rb-file or delete the file if you not use the 
fact.

Check the facts from the SYSTEM-USER:
Download the PsExec-Tolls from systernals
Open CMD and navigate to the PSEXEC file.
Start a CMD as SYSTEM-USER with this command: PSEXEC -i -s -d CMD
in this SYSTEM-CMD window you can enter facter and look at the values. If 
you see a value with umlauts you must do something with this.
end



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ff9c4b75-7928-496a-aba3-a47b6e191220%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to