title: Inline if statement for puppet parameters
body: <p>I have a following puppet module</p>
  
  <pre><code>class base (
    $someBoolean=false,
  )
  {
    exec { 'Do something':
      command     =&gt; '/usr/bin/someStuff',
      timeout     =&gt; (someBoolean) ? 100000000 : 300
    }
  }
  </code></pre>
  
  <p>The <code>timeout =&gt; () ? :</code> is enssentially what I want to do, but what is the correct syntax to do it? Is it possible at all?</p>