Issue #12702 has been updated by Jan Ziegler.
Update:
The following content in the timezone.rb file solved the problem for us:
# Fact: timezone
#
# Purpose: Return the machine's time zone.
#
# Resolution: Uses's Ruby's Time module's Time.new call.
#
# Caveats:
#
require 'iconv'
Facter.add("timezone") do
setcode do
p Iconv.iconv("UTF-8", "windows-1250",Time.new.zone)
Iconv.iconv("UTF-8", "windows-1250",Time.new.zone)
end
end
----------------------------------------
Bug #12702: Puppet does not specify encoding when setting up rails database
connection
https://projects.puppetlabs.com/issues/12702#change-60078
Author: Jan Ziegler
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category: stored configuration
Target version:
Affected Puppet version: 2.7.10
Keywords:
Branch:
Hi,
I want to install puppet on Windows Server 2003. I already have a working
Puppetmaster (Scientific Linux).
I installed puppet the way it's explained here:
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
It worked moving files locally via puppet for example.
But when I try to run puppet via Puppetmaster I always get the following Output:
<pre>
notice: Ignoring --listen on onetime run
info: Retrieving plugin
err: /File[C:/Dokumente und Einstellungen/All
Users/Anwendungsdaten/PuppetLabs/puppet/var/lib]:
Failed to generate additional resources using 'eval_generate: Could not
intern_multiple from pson: Paths must be fully qualified
err: /File[C:/Dokumente und Einstellungen/All
Users/Anwendungsdaten/PuppetLabs/puppet/var/lib]:
Could not evaluate: Could not intern from pson: Paths must be fully qualified
Could not retrieve file metadata for puppet://foreman.id.dvag.com/plugins:
Could not intern from pson: Paths must be fully qualified
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
PGError:
ERROR : invalid byte sequence for encoding "UTF8": 0xe46973 :
INSERT INTO "fact_values" ("value", "host_id", "created_at", "fact_name_id",
"updated_at")
VALUES ('Mitteleuropõische Zeit ', 88, '2012-02-16 15:13:29.293099', 28,
'2012-02-16 15:13:29.293099') RETURNING "id"
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
notice: /File[C:/Dokumente und Einstellungen/All
Users/Anwendungsdaten/PuppetLabs/puppet/var/state/last_run_summary.yaml]/content:
</pre>
But what about the database - UTF8 Problem?
Can you please tell me why I get this error message and what can be done to fix
it?
Thanks
--
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 [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.