Hi Dave,

On PE Console, select a Node to view Node facts and check the environment 
Variable.
This variable is set on Master side, not agent side.
Check that the environment variable matches to the PE selected node environment.
You should then be able to filter using the environment “Fact”.

Best,
Martin


> On 22. Jun 2021, at 13:58, daveford...@gmail.com <davefordtestt...@gmail.com> 
> wrote:
> 
> Hi - I've just starting working with a complex puppet environment that's 
> running with dozens of different environments.  
> 
> The PE console doesn't really seem to give me a way to filter views of 
> machines by anything other than facts.  So I'm wondering if there's a fact I 
> can use to determine which environment a puppet agent is running in? I can't 
> see anything out ofthe box from facter, and also can't seem to get anything 
> useful from puppet config cmd.  Our environment is being fed from the ENC in 
> PE, rather than the local puppet.conf file, so examing that is no use.   The 
> only place I can seem to see any references ot the env. is in the 
> last_run_report in the cache - is that the best place to find this info? 
> 
> Thanks
> Dave
> 
> -- 
> 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 puppet-users+unsubscr...@googlegroups.com 
> <mailto:puppet-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/f41e941a-0212-4cdb-adef-d6fc56494141n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/puppet-users/f41e941a-0212-4cdb-adef-d6fc56494141n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5558C3E8-9625-4083-9415-8C5E6ADB2431%40gmail.com.

Reply via email to