voxpupuli / onceover

Your gateway drug to automated infrastructure testing with Puppet
141 stars 45 forks source link

Trusted certname uses local trusted certname #289

Closed negast closed 3 months ago

negast commented 3 years ago

Hello

I"ve added trusted certname as documented in the code

{"trusted":{"certname":"node1"},"values":{"agent_specified_environment":"production"

https://github.com/dylanratcliffe/onceover#trusted-facts

In our code we have a function calling if $::trusted['certname'] in

When running onceover the trusted certname is filled in with the local trusted certname instead of the one in the factset.

How can I get the function to use the one from the factset. Preferably without changing code inside the function.

genebean commented 3 years ago

I think I am running into this too. v3.18.1 does not show the same problem in my setup though.

damonmaria commented 2 years ago

I am striking the same on MacOS. Not sure if it's platform specific.