title: Unknown function pick at /tmp/vagrant-puppet/modules-84c36838170137b342ad08a194e8c35b/mongodb/manifests/params.pp:6 on node - Vagrant
body: <p>While provision Vagrant VM  <strong><code>hashicorp/precise32</code></strong> with <a href="https://github.com/puppetlabs/puppetlabs-mongodb" rel="nofollow">puppetlabs-mongodb</a>, I got an error:</p>
  
  <blockquote>
    <p>Unknown function pick at
    /tmp/vagrant-puppet/modules-84c36838170137b342ad08a194e8c35b/mongodb/manifests/params.pp:6
    on node</p>
  </blockquote>
  
  <p>When I looked at line no.6 of <a href="https://github.com/puppetlabs/puppetlabs-mongodb/blob/master/manifests/params.pp" rel="nofollow">params.pp</a>, I found:</p>
  
  <pre><code>$service_manage = pick($mongodb::globals::mongod_service_manage, true)
  </code></pre>
  
  <p>But not sure, how to resolve it.</p>
  
  <p>Any Idea how can I fix it?</p>
  
  <p>Thanks.</p>