Issue #19344 has been updated by Martijn Grendelman.
I'm not sure if duplicating this older bug is really the way to go, but I ran into something today that may well be the same issue. I got this on a one-time agent run: `Error: Could not run Puppet configuration client: (<unknown>): could not find expected ':' while scanning a simple key at line 349 column 3` `Error: Could not run: can't convert Puppet::Util::Log into Integer` On line 349 column 3 of /var/lib/puppet/state/state.yaml I found an Exec resource with a resource name of 1719 characters, being a very long command line, with multiple commands separated by semicolons. The line itself seemed syntactically valid; there was indeed a colon present at the end. It seems the length of the line is really the problem. Once I changed the resource name to something short and descriptive, moving the actual command to the 'command' parameter, the problem was gone. ---------------------------------------- Bug #19344: "Error: Could not run: can't convert Puppet::Util::Log into Integer" in Puppet 3.0 on Ubuntu 12.10 https://projects.puppetlabs.com/issues/19344#change-83573 Author: Martijn Grendelman Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 3.1.0 Keywords: Branch: Running "puppet agent -t" on Ubuntu 12.10 with puppet 3.0.0 and ruby 1.9.3p194 (2012-04-20 revision 35410), I get the following error message <pre> ... Debug: Using settings: adding file resource 'lastrunfile': 'File[/var/lib/puppet/state/last_run_summary.yaml]{:path=>"/var/lib/puppet/state/last_run_summary.yaml", :mode=>"644", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'lastrunreport': 'File[/var/lib/puppet/state/last_run_report.yaml]{:path=>"/var/lib/puppet/state/last_run_report.yaml", :mode=>"640", :ensure=>:file, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource 'graphdir': 'File[/var/lib/puppet/state/graphs]{:path=>"/var/lib/puppet/state/graphs", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Finishing transaction 80839800 Debug: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (yaml) Debug: report supports formats: b64_zlib_yaml raw yaml; using yaml Debug: Using cached certificate for ca Debug: Using cached certificate for station.local.net Debug: Using cached certificate_revocation_list for ca Error: Could not run Puppet configuration client: (<unknown>): control characters are not allowed at line 1 column 1 Error: Could not run: can't convert Puppet::Util::Log into Integer </pre> -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
