title: How to fix syntax error while defining a class?
body: <p>I'm trying to install the module located at <a href="https://github.com/puppetlabs/puppetlabs-mongodb" rel="nofollow">https://github.com/puppetlabs/puppetlabs-mongodb</a>. What I don't seem to understand is where to place </p>
  
  <pre><code>class mongodb {
    enable_10gen =&gt; true,
  }
  </code></pre>
  
  <p>in their Usage and installation instructions. </p>
  
  <p>I've already cloned the repo and put it in <code>/etc/puppet/modules/mongodb</code>.</p>
  
  <p>If I put that in my main site.pp file, I get a syntax error:</p>
  
  <blockquote>
    <p>Could not parse for environment production: Syntax error at '=>';
    expected '}' at /etc/puppet/manifests/site.pp:8</p>
  </blockquote>
  
  <p>Line 8 is in reference to the enable_10gen line.</p>