Hi,

I have an exec {} that runs a command line script, for which 0 and 1 are
both good return codes. (Specifically, spamassassin update; 1 means no new
downloads). I tried

    returns => [0,1],

but it still reports an error on RC = 1. Are multiple values not appropriate
here?

My workaround is to exec a wrapper script that traps '1' and returns 0.

TIA

-- 
John Ingersoll, Jr.
Usage: fortune -P [] -a [xsz] [Q: [file]] [rKe9] -v6[+] dataspec ...
inputdir

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to