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 |

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

2019-09-01 Thread Bart-Jan Vrielink
Hello, The file resource also copies the file from the client, so it should work. Of course, I do not (and/or cannot) explain why the diff fails, but by using a file resource (with a local file as a source) one simply works around this :) -Original message- From: Helmut Schneider 

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