Re: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-02 Thread Helmut Schneider
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'],  

Re: [EXTERNAL] - Re: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Dirk Heinrichs
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

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Bart-Jan Vrielink
  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,

Re: [Puppet Users] change from 'notrun' to ['0'] failed

2019-09-01 Thread Helmut Schneider
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

RE: [Puppet Users] change from 'notrun' to ['0'] failed

2019-08-31 Thread Bart-Jan Vrielink
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