Hi;

I'm running open source puppet server ver 5.  So far, I've been exceedingly 
happy with the performance and maintainability of it.  I'm about to start a 
rewrite of a module and would like to verify some hiera data.  Quick google 
search shows what looks like it should be the perfect tool - problem is, it 
doesn't work.

On the puppet server, I run:

# puppet lookup fqdn
Error: Could not run: Could not find a directory environment named 
'unconfigured' anywhere in the path: /etc/puppetlabs/code/environments. Does 
the directory exist?


I tried adding the environment with the same result:

# puppet lookup --environment production fqdn
Error: Could not run: Could not find a directory environment named 
'unconfigured' anywhere in the path: /etc/puppetlabs/code/environments. Does 
the directory exist?

Puppet environments, in my setup, are established via an external node 
classifier.  I tried adding 'environment = production' to the user section 
of /etc/puppetlabs/puppet/puppet.conf but that didn't have any affect 
either.  Even with that, though, I would have thought specifying the 
environment on the command line would resolve that.

Has anyone seen this and know what I may have messed up and/or how to work 
around it?

Any hints/tips/suggestions greatly appreciated.

Doug O'Leary


-- 
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/ae431f1f-02de-4ad2-abdb-92ed5288ef15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to