To clarify, tried this on various systems - facter 4.4.0 and ruby 3.0.2 on
Ubuntu Mint and facter 4.7.0 and ruby 3.1.4 on gentoo. Examples taken from
the puppet documentation on writing custom facts.
On Wednesday 8 May 2024 at 10:12:31 UTC+1 daveford...@gmail.com wrote:
> Total ruby noob
Total ruby noob and first time trying to right a custom fact. It does look
too complication and I've sort of got this working.. But one question -
from the puppet documentation gives two ways of using a 'confine'.
This lets me custom fact produce output via facter on my gentoo box as
expected
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 enviro
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 whic