remote_file resource doesn't natively handle scp?

Folks,

I was a little surprised by this – it does http://, ftp://, and file://, but it doesn’t appear to do scp://.

Moreover, there doesn’t seem to be a public cookbook that has been developed to provide this feature.

Is this correct, or have I missed something?

I mean, I can easily write my own bash script to do the quick-n-dirty, but I was hoping there was a standard cross-platform method that had already been implemented in a robust and idempotent manner.

Thanks!


Brad Knowles brad@shub-internet.org
LinkedIn Profile: http://tinyurl.com/y8kpxu

On Friday, November 14, 2014 at 10:29 AM, Brad Knowles wrote:

Folks,

I was a little surprised by this -- it does http://, ftp://, and file://, but it doesn't appear to do scp://.

It’s not natively supported. You’ll probably need a library like net-scp to do the protocol if you want to add support.

--
Daniel DeLeo

On Nov 14, 2014, at 1:26 PM, Daniel DeLeo dan@kallistec.com wrote:

I was a little surprised by this -- it does http://, ftp://, and file://, but it doesn't appear to do scp://.

It’s not natively supported. You’ll probably need a library like net-scp to do the protocol if you want to add support.

That did the trick. Thanks!

--
Brad Knowles brad@shub-internet.org
LinkedIn Profile: http://tinyurl.com/y8kpxu