title: Puppet: stdlib installed but not available in namespace?
body: <p>as a puppet newbie, I have a problem including the stdlib plugin </p>
  
  <p>I would like to use stdlib's file_line, thus I try to include stdlib and call it</p>
  
  <pre class="lang-rb prettyprint-override"><code>class service_mon
  {
    include stdlib
    file_line 
    {
      "${name}_services": path=&gt; ...
    }
  }
  </code></pre>
  
  <p>However, I get an error message, that stdlib cannot been found</p>
  
  <blockquote>
    <p>err: Could not retrieve catalog from remote server: Error 400 on
    SERVER: Could not find class stdlib for my.node.name at
    /etc/puppet/workspace/dev/src/modules/mymanifest/manifests/deploy.pp:87
    on node my.node.name</p>
  </blockquote>
  
  <p>which makes me wonder since stdlib should be installed(?) ...or?</p>
  
  <pre><code>puppet module install puppetlabs-stdli
  
  puppet module list
  /etc/puppet/modules
  └── puppetlabs-stdlib (v4.2.2)
  /usr/share/puppet/modules (no modules installed)
  
  puppet config print modulepath
  /etc/puppet/modules:/usr/share/puppet/modules
  </code></pre>
  
  <p>So, I guess in principle all necessary files are 'there' but how can I convince Puppet to include stdlib as well?</p>