Bart-Jan Vrielink wrote:
> file {
> "${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem":
> ensure => file, source =>
> "${appEtcConfPath}/ssl/private/${letsencryptCommonName}.letsencrypt.${
> letsencryptKeySize}.key", notify => Exec['/usr/local/bin/apache.sh
> -c restart'],
Am Sonntag, den 01.09.2019, 14:52 + schrieb Helmut Schneider:
The certificate is on the agent system, not the master so I need to do the exec.
No, you don't, as Bart-Jan already wrote.
Bye...
Dirk
--
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommin
Sent: Sunday 1st September 2019 16:52
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] change from 'notrun' to ['0'] failed
Bart-Jan Vrielink wrote:
> I cannot fully understand what you are trying to do, as I do not know
> what $copyPrivateCommand is,
Bart-Jan Vrielink wrote:
> I cannot fully understand what you are trying to do, as I do not know
> what $copyPrivateCommand is, but I would advice against using an exec
> for copying a file, but just use a file resource instead:
$copyPrivateKeyCommand = "cp -L
${letsencryptConfPath}/live/${letsen
Hello,
I cannot fully understand what you are trying to do, as I do not know what
$copyPrivateCommand is, but I would advice against using an exec for copying a
file, but just use a file resource instead:
file { "${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem":
ensure => fil