As I mentioned, you *modulepath* is key here. What is the output of
puppet apply --configprint modulepath puppet apply --configprint environmentpath Also, what version of Puppet is this? On 09/08/2014 06:19 AM, omfg9899 wrote: > So I didn't have a "/etc/puppet/modules/env/lib/facter/" directory > structure of any kind. > I had a structure of "/var/els/puppet/modules/facts/files/envir.rd" > and /var/els/puppet/modules/env/lib/facter/envir.rb" > Neither of those work, however, I am just running facter. If puppet > runs facter differently I wouldn't know what that difference is. > > I did notice a strange directory "/usr/lib/ruby/site_ruby/1.8/facter/" > where a-lot of stuff was coming out of. > > Any thoughts? > > Thanks, > J > > On Sunday, September 7, 2014 4:41:48 PM UTC-5, Felix.Frank wrote: > > On 09/07/2014 05:41 PM, omfg9899 wrote: > > I have placed this file in MANY different places as suggested and it > > never works. > > Well...*what* places? > > The facts.d directory is the one place where this does *not* belong. > > Please try /etc/puppet/modules/env/lib/facter/envir.rb > > provided that /etc/puppet/modules is in your modulepath. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/540DB67E.4090503%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.
