Hello Martin,
Thank you for letting me know of another way.
Yes - using the content property within the file resource and
interpolate from hiera could be another option for what I want to do.
However, I want to change the content property each hostname. Which
means every host has individual conte
Hi Go,
> On 24. Nov 2020, at 00:06, Go Iwai wrote:
>
> Hello Dirk,
>
> Thank you for replying to the mail. However, your code doesn't work for the
> resource of exec like below:
>
> exec { '/path/to/decrypted-file':
> command => 'eyaml decrypt --file=/path/to/encrypted-file >
> /path/to/de
Hello Dirk,
Thank you for replying to the mail. However, your code doesn't work for the
resource of exec like below:
exec { '/path/to/decrypted-file':
command => 'eyaml decrypt --file=/path/to/encrypted-file >
/path/to/decrypted-file',
# ...snip
}
This generates a notice like:
Notice: /St
Am Montag, den 23.11.2020, 15:23 +0900 schrieb Go Iwai:
> It looks more natural if I could rewrite this line above like below:
>
> eyaml decrypt --file=encrypted-file
> --pkcs7-public-key=%{pkcs7_public_key}
> --pkcs7-private-key=%{pkcs7_private_key}
I don't think you need to specify these optio
Hello,
I am writing this to ask you if/how I can lookup values defined in the
hiera.yaml.
My hiera.yaml looks like:
hierarchy:
- name: "sensitive data"
lookup_key: eyaml_lookup_key
path: sensitive.eyaml
options:
pkcs7_public_key: /etc/puppetlabs/puppet/keys/public_key.pkcs7.p