puppet-ca_cert icon indicating copy to clipboard operation
puppet-ca_cert copied to clipboard

Trusted and distrusted got switched around

Open wardhus opened this issue 8 months ago • 2 comments

I think trusted and distrusted got switched around somewhere? Am I wrong?

wardhus avatar Mar 24 '25 17:03 wardhus

🤔 those changes were made in 3d4a9210292eab68945429901e6415466ce47c53 (#107).

kenyon avatar Mar 24 '25 18:03 kenyon

I'm getting the following when using trusted on RHEL 8:

Resource:

  ca_cert::ca { 'EXAMPLE':
    ensure  => 'trusted',
    content => file('profile/example/EXAMPLE.crt'),
  }

Debug output:

Debug: /Stage[main]/Profile::Example/Ca_cert::Ca[EXAMPLE]/File[/etc/pki/ca-trust/source/blacklist/EXAMPLE.crt]: Nothing to manage: no ensure and the resource doesn't exist
Debug: /Stage[main]/Ca_cert/Exec[ca_cert_update]: 'update-ca-trust extract' won't be executed because of failed check 'refreshonly'

Joris29 avatar Jun 26 '25 07:06 Joris29