- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: ssh supports in remote_file?
- Date: Sat, 11 Aug 2012 14:18:30 +1200
I'd highly recommend against putting mongodb binaries into cookbooks.
Or anywhere near infrastructure :>
remote_file doesn't (currently?) support ssh (by which I guess you mean
'scp'?)
You could easily make your own scp_remote_file provider that uses
remote_file semantics to secure copy or maybe rsync a directory
structure down. I wonder if there is one available. Alternatively,
there are many tried-and-true protocols for sharing file systems (nfs,
smb, ..) across your machines which you could configure with Chef.
--AJ
On 11 August 2012 14:13, John Wong
<
>
wrote:
>
Do we have SSH support using remote file? I have files sitting in the cache
>
server, but this server is not HTTP accessible for security reason. Only SSH
>
is possible. Well, actually, it's sitting on the same machine that
>
chef-server is running on, except chef-server user does not have the
>
privilege to read this mount cache point. We mount it so that it is network
>
accessible with proper user.
>
>
Ideas? You can't put files like mongodb binary into a cookbook, that's
>
crazy.
>
>
Thanks.
>
>
John
Archive powered by MHonArc 2.6.16.