Nevermind the above, I had wrong data { } - it contained hash of hashes,
instead of hash, and I was referencing wrong variable in the ERB file.
Actually, this works fine. I think so at least, because I am running puppet
apply on the same machine and I'm not sure if the template actually renders
Thomas,
Thanks again for the follow up. I think I will try to use datacat module.
However with the following configuration:
datacat { "/tmp/my.conf":
template => "my_module/properties.erb",
}
datacat_fragment { 'properties fragment':
target => '/tmp/my.conf',
data => { props => {
¦ '
Am 08.11.2016 um 20:10 schrieb Ziwi:
> Thanks for the link, I will definitely look at this. If this actually
> renders on agent it could come in handy.
>
> However different outputs of the encryption command are still a
> problem, as there should be some kind of: onlyif =>
> decrypt('old_value')
Thanks for the link, I will definitely look at this. If this actually
renders on agent it could come in handy.
However different outputs of the encryption command are still a problem, as
there should be some kind of: onlyif => decrypt('old_value') !=
plain_password functionality for this.
If a