Reputation: 164
My objective is to transfer file from one node server to another node server using Chef. I want to know how can I do it?
Thanks in advance Regards Manish Mehra
Upvotes: 1
Views: 1197
Reputation: 54221
Chef doesn't do file transfers like this, but it can run commands so it can do whatever you would normally do by hand. You could use Chef to deploy SSH keys and authorization files, and then use scp or sftp for the actual file transfer. You could also setup rsync in daemon mode and use that.
Upvotes: 5