voxpupuli / onceover

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

Trusted facts don't work #266

Open dylanratcliffe opened 4 years ago

dylanratcliffe commented 4 years ago

After creating a simple test scenario: https://github.com/dylanratcliffe/onceover/commit/fdaa35d289021013034be7cd128165b8f49392b3

Tests: https://github.com/dylanratcliffe/onceover/runs/709972744

It seems that trusted facts aren't working as they were designed to. This needs fixing

chadh commented 3 years ago

Something I was hoping would work is to use $trusted['authenticated'] According to the docs, I thought I could check for that to be remote and use the extensions; otherwise, I would use untrusted versions of those facts. But when onceover runs, the value is remote, which I find surprising.