You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In trusted_ca::java the require attribute in exec resource is set File["/tmp/${name}-trustedca"]. It should be set to File[$filename] instead. This causes and error when I set a non-default value to trusted_ca::java::filename parameter.
This is clearly a syntax mistake since the required file resource is spelled file { $filename:.
Affected Puppet, Ruby, OS and module versions/distributions
We run a masterless puppet environment. I.e. nodes run puppet apply from crontab.
I expect that if I specify a value for $filename, the exec resource will compile properly
Output log
Resulting error:
Running puppet apply on host xxxxxxxx. Wed Jan 15 11:49:26 AM PST 2025
Running all modules in manifest file /home/agould/my_puppet_workspace/environments/modules/manifests/test_all.pp
Info: Loading facts
Error: Could not find resource 'File[/tmp/Our-Self-Signed-CA-trustedca]' in parameter 'require' (file: /home/agould/my_puppet_workspace/environments/uc3-modules/modules/trusted_ca/manifests/java.pp, line: 64) on node xxxxxxxx
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
In
trusted_ca::java
therequire
attribute in exec resource is setFile["/tmp/${name}-trustedca"]
. It should be set toFile[$filename]
instead. This causes and error when I set a non-default value totrusted_ca::java::filename
parameter.This is clearly a syntax mistake since the required file resource is spelled
file { $filename:
.Affected Puppet, Ruby, OS and module versions/distributions
We run a masterless puppet environment. I.e. nodes run
puppet apply
from crontab.How to reproduce (e.g Puppet code you use)
My usage:
What are you seeing
Compilation error
What behaviour did you expect instead
I expect that if I specify a value for $filename, the exec resource will compile properly
Output log
Resulting error:
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: