title: run Exec only if another Exec ran
body: <p>how can I configure a Exec to run only if another Exec ran?</p>
  
  <p>I have a manifest like this:</p>
  
  <pre><code>file { $target:
      ensure =&gt; directory
  }
  
  exec { "unzip foobar.zip -C ${target}": 
      unless =&gt; "file ${target}/some-file-form-archive"
  }
  
  exec { "chown -R $user ${target}":
      onlyif =&gt; ???
  }
  </code></pre>
  
  <p>I would like the <code>chown</code> to run only if <code>unzip foobar.zip</code> ran. Of course I could start checking whether <code>some-file-from-archive</code> is already owned by <code>$user</code>, but somehow it does not seem right.</p>