[chef] Re: Why am I getting this error from net-scp?


Chronological Thread 
  • From: Brad Knowles < >
  • To: Steven Danna < >
  • Cc: Bradford L Knowles < >, " " < >
  • Subject: [chef] Re: Why am I getting this error from net-scp?
  • Date: Wed, 26 Nov 2014 09:23:35 -0600

On Nov 26, 2014, at 6:35 AM, Steven Danna 
< >
 wrote:

>>      source    = cmd.stdout
> 
> My guess is your output has a newline attached to it.  Since newlines
> are valid characters in filenames, there is no reason for this to
> raise an error before the file can't be found.  Try:
> 
>    source = cmd.stdout.chomp

Weird.  Because there's no newline showing up in any of the log messages.  
But I can give this a try.

Thanks!

--
Brad Knowles 
< >
LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




Archive powered by MHonArc 2.6.16.

§