http://projects.puppetlabs.com/2009-09-15T02:09:40ZPuppet LabsPuppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=93732009-09-15T02:09:40ZMarkus RobertsMarkus@reality.com
<ul><li><strong>Status</strong> changed from <i>Unreviewed</i> to <i>Needs More Information</i></li><li><strong>Assignee</strong> set to <i>seph seph</i></li></ul><p>Could you explain further? &ldquo;Yes&rdquo; is not a valid value for the recurse parameter, and the error message seems to state that.</p>
<p>I may be being dense but I&rsquo;m not understanding what specifically is hard to unravel.</p>
<p>&mdash; MarkusQ</p>
<p>P.S. If you could give an example of what you think the error should have been that might help.</p>
Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=94262009-09-16T01:24:51Zseph sephseph@directionless.org
<ul></ul><p>Sorry for the brevity of the initial report.</p>
<p>While the error is accurate, it does not include mention of the file, line number or resource type. As a non-expert, it&rsquo;s very hard to track down an error with out much to go on. &ldquo;recurse&rdquo; might have been a suitable keyword, but it&rsquo;s pretty generic. My first parsing of that error, was that I&rsquo;d screwed something up i my inheritance, and some internal recurse function was failing. It took a lot of reverts before I finally found the problem.</p>
<p>Some places in puppet give much better errors. For example, if I type &ldquo;Fcile&rdquo; instead of &ldquo;File&rdquo; I get:</p>
<pre>
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource type fcile at /etc/puppet/modules/site/manifests/test.pp:9 on node puppet-test.example.com
</pre>
<p>Much simpler to track that down. In contrast this error gives me very little to go on.</p>
Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=94272009-09-16T01:25:27Zseph sephseph@directionless.org
<ul><li><strong>Assignee</strong> deleted (<del><i>seph seph</i></del>)</li></ul> Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=95232009-09-18T11:56:59ZMarkus RobertsMarkus@reality.com
<ul><li><strong>Status</strong> changed from <i>Needs More Information</i> to <i>Accepted</i></li><li><strong>Assignee</strong> set to <i>Markus Roberts</i></li></ul> Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=106482009-11-24T04:54:49ZMarkus RobertsMarkus@reality.com
<ul><li><strong>Category</strong> set to <i>error reporting</i></li><li><strong>Assignee</strong> changed from <i>Markus Roberts</i> to <i>Jesse Wolfe</i></li><li><strong>Target version</strong> set to <i>0.25.2</i></li></ul> Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=109952009-12-15T05:56:14ZJesse Wolfejes5199@gmail.com
<ul><li><strong>Status</strong> changed from <i>Accepted</i> to <i>In Topic Branch Pending Review</i></li><li><strong>Branch</strong> set to <i>http://github.com/jes5199/puppet/tree/ticket/0.25.x/2633</i></li></ul> Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=110172009-12-15T16:09:53ZMarkus RobertsMarkus@reality.com
<ul><li><strong>Status</strong> changed from <i>In Topic Branch Pending Review</i> to <i>Ready For Checkin</i></li></ul><p>It now produces:</p>
<pre><code>Parameter recurse failed: Invalid recurse value "yes" at /Users/markus/projects/puppet/jesse/puppet/2633.pp:7
</code></pre>
Puppet - Bug #2633: unhelpful error message -- incorrect values for file/recurse are hard to debughttp://projects.puppetlabs.com/issues/2633?journal_id=110292009-12-15T20:28:46ZJames Turnbulljames@lovedthanlost.net
<ul><li><strong>Status</strong> changed from <i>Ready For Checkin</i> to <i>Closed</i></li></ul><p>Pushed in commit:d685f446ef88c2273a5e3f310d2ebb2bff9091f8 in branch 0.25.x</p>