title: Why is puppet not finding my environment module path?
body: <p>I have a simple environment set up with puppet. On the master I have </p>
  
  <pre><code>[root@ak-puppetm develop]# pwd
  /etc/puppet/environments/develop
  
  [root@ak-puppetm develop]# puppet config print modulepath --section master --environment develop
  /etc/puppet/modules:/usr/share/puppet/modules
  
  [root@ak-puppetm develop]# ls -lah
  total 28K
  drwxr-xr-x 5 akropp akropp 4.0K Jul 16 15:16 .
  drwxr-xr-x 4 akropp akropp 4.0K Jul 16 15:16 ..
  -rw-r--r-- 1 akropp akropp 6.1K Jul 16 15:16 .DS_Store
  drwxr-xr-x 4 akropp akropp 4.0K Jul 16 15:16 files
  drwxr-xr-x 2 akropp akropp 4.0K Jul 16 15:16 manifests
  drwxr-xr-x 3 akropp akropp 4.0K Jul 16 15:20 modules
  
  [root@ak-puppetm develop]# ls -lah modules/
  total 12K
  drwxr-xr-x 3 akropp akropp 4.0K Jul 16 15:20 .
  drwxr-xr-x 5 akropp akropp 4.0K Jul 16 15:16 ..
  drwxr-xr-x 3 akropp akropp 4.0K Jul 16 15:08 domains
  [root@ak-puppetm develop]#
  </code></pre>
  
  <p>And yet you can see that the module path doesn't seem to contain develop?  </p>
  
  <p>If I move my module code to <code>/etc/puppet/modules</code> then puppet finds my classes just fine.  </p>
  
  <p>I even tried putting </p>
  
  <pre><code>modulepath=$confdir/environments/$environment/modules:$confdir/modules
  </code></pre>
  
  <p>Into the puppet.conf but it didn't find it still and just got deprecation warnings instead</p>
  
  <p>My environment though is working, I have a manifest in there and it works great for nodes tagged with the <code>develop</code> environment. Just can't seem to get the modules to pick up</p>