Issue #2633 has been updated by Jesse Wolfe.

Status changed from Accepted to Ready for Testing
Branch set to http://github.com/jes5199/puppet/tree/ticket/0.25.x/2633


----------------------------------------
Bug #2633: unhelpful error message -- incorrect values for file/recurse are 
hard to debug
http://projects.reductivelabs.com/issues/2633

Author: seph seph
Status: Ready for Testing
Priority: Normal
Assigned to: Jesse Wolfe
Category: error reporting
Target version: 0.25.2
Affected version: 0.25.0rc1
Keywords: 
Branch: http://github.com/jes5199/puppet/tree/ticket/0.25.x/2633


<pre>
s...@samhain-test:~$ cat /var/tmp/puppet-recurse.pp 
file{ "/tmp/recurese-test":
    ensure  => directory,
    recurse => yes,
    owner   => root,
    group   => root,
    mode    => 640,
}
</pre>

<pre>
s...@samhain-test:~$ puppet --version
0.25.0
s...@samhain-test:~$ sudo puppet -v  /var/tmp/puppet-recurse.pp
info: Loading facts in virtual
info: Loading facts in acpi_available
info: Loading facts in interfaces
sh: Syntax error: Bad fd number
sh: Syntax error: Bad fd number
Parameter recurse failed: Munging failed for value "yes" in class recurse: 
Invalid recurse value "yes"
</pre>

I get a similarly hard to unravel message with any other unrecognized value, 
not just yes. 


-- 
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://reductivelabs.com/redmine/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.


Reply via email to