Open SvenVD-be opened 4 months ago
Consider
java_ks { "$cert_alias:$truststore_path": ensure => latest, certificate => $cert_path_unique, trustcacerts => true, password => $truststore_passwd }
If $cert_path_unique is a pem file which contains an intermediate and a leaf certificate then puppet outputs the following every run Java_ks[jREDACTED]/ensure: ensure changed 'present' to 'latest'
Java_ks[jREDACTED]/ensure: ensure changed 'present' to 'latest'
Puppet should be idempotent
Describe the Bug
Consider
java_ks { "$cert_alias:$truststore_path": ensure => latest, certificate => $cert_path_unique, trustcacerts => true, password => $truststore_passwd }
If $cert_path_unique is a pem file which contains an intermediate and a leaf certificate then puppet outputs the following every run
Java_ks[jREDACTED]/ensure: ensure changed 'present' to 'latest'
Expected Behavior
Puppet should be idempotent
Environment