Puppet exception handling?
<p>I was wondering how one would do try/catch/throw type exception handling in a puppet manifest.  Here's how I wish puppet would work ...</p>

<pre><code>class simple {
    unless ( package { 'simple': ensure =&gt; present } ) {
        file { '/tmp/simple.txt':
            content =&gt; template( 'simple/simple.erb' ), 
        }
    }
} 
</code></pre>

<p>Thanks</p>