title: Puppet: curl call to create vhosts in couchdb
body: <p>I'm trying to create vhosts for couchDB in a puppet file by using curl:</p>
  
  <pre><code>exec {'setup-vhosts':
      command =&gt; "curl -X PUT http://127.0.0.1:5984/_config/vhosts/mycool.url -d '"/my_database"'",
      require =&gt; [Service['couchdb'], Package['curl']],
  }
  </code></pre>
  
  <p>But i'm getting this error:
  Syntax error at '''; expected '}' at /tmp/vagrant-puppet/modules-0/couchdb/manifests/init.pp:19</p>
  
  <p>If I execute the command on the machine itself it works perfectly. How can I escape the command correctly?</p>