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
2019 11:41
To: puppet-users@googlegroups.com
Subject: [Puppet Users] change from 'notrun' to ['0'] failed
Hi,
I want to copy a file if a diff fails:
exec { "Private key
'${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem'
changed
Hi,
I want to copy a file if a diff fails:
exec { "Private key
'${letsencryptConfPath}/live/${letsencryptCommonName}/privkey.pem'
changed, updating":
path=> '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin',
command => "$copyPrivateCommand",
unless => "diff -q
${letsencryptCon
# cat iddmi.pp
class iddmi {
# define pkg variable
$pkg = $hardwareisa ? {
"sparc" => "Iddmi_SunOS_sparc.pkg",
"i386" => "Iddmi_SunOS_i386.pkg",
default => undef,
}
$ftpsystems = "ftp.example.net/download"
# define path deafult fo