Jira (PUP-1225) Puppet does not specify encoding when setting up rails database connection
Title: Message Title Stefan Schulte commented on an issue Re: Puppet does not specify encoding when setting up rails database connection I searched if this is a known issue in ruby but all I found is the following issue: https://bugs.ruby-lang.org/issues/9414 Add Comment Puppet / PUP-1225 Puppet does not specify encoding when setting up rails database connection 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 follo... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://group
Jira (PUP-1225) Puppet does not specify encoding when setting up rails database connection
Title: Message Title Stefan Schulte commented on an issue Re: Puppet does not specify encoding when setting up rails database connection I have a similar issue with the timezone fact on a german windows system. I am using puppet `3.4.2` and the bunlded ruby that comes with the installation. I tried to backport FACT-134 which enforces UTF-8 encoding in facter, but I still got garbage in the stored /var/lib/puppet/yaml/facts file on my master. But if I get this right ruby guesses the inital encoding wrong. Here is a simple irb session with the bundled ruby in puppet 3.4.2 irb(main):017:0> puts Time.now.zone Mitteleuropõische Zeit => nil irb(main):018:0> puts Time.now.zone.encoding CP850 => nil irb(main):019:0> puts Time.now.zone.encode("UTF-8", "CP850") Mitteleuropõische Zeit => nil irb(main):020:0> puts Time.now.zone.encode("UTF-8", "CP1252") Mitteleuropäische Zeit => nil The last output is the correct one, so it seem Tome.now.zone is encoded as CP1252 while ruby treats it as it was encoded as CP850. Am I missing something here? Add Comment Puppet / PUP-1225 Puppet does not specify encoding when setting up rails database connection 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 follo...
Jira (PUP-1225) Puppet does not specify encoding when setting up rails database connection
Title: Message Title Reid Vandewiele commented on an issue Re: Puppet does not specify encoding when setting up rails database connection This appears to be a Facter bug, potentially. There is a lot more detail in the linked Redmine issues. Add Comment Puppet / PUP-1225 Puppet does not specify encoding when setting up rails database connection 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 follo... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups
Jira (PUP-1225) Puppet does not specify encoding when setting up rails database connection
Title: Message Title Reid Vandewiele updated an issue Puppet / PUP-1225 Puppet does not specify encoding when setting up rails database connection Change By: Reid Vandewiele 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_WindowsIt worked moving files locally via puppet for example.But when I try to run puppet via Puppetmaster I always get the following Output: {code} 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: {code} 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 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (PUP-1225) Puppet does not specify encoding when setting up rails database connection
Title: Message Title redmine.exporter created an issue Puppet / PUP-1225 Puppet does not specify encoding when setting up rails database connection Issue Type: Bug Assignee: Unassigned Created: 22/Dec/13 8:24 PM Labels: redmine Priority: Normal Reporter: redmine.exporter 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: 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-