Git Product home page Git Product logo

Comments (5)

grubernaut avatar grubernaut commented on July 2, 2024

Does this fail with the normal transport, removing the sshtar transport?

from kitchen-puppet.

nvtkaszpir avatar nvtkaszpir commented on July 2, 2024

No, it does not.
Tried with kitchen-sync with sftp transport and classic scp and then it works without an error.

Seems like limitation of the kitchen-sshtar that it accepcts directories only.

But then I think kitchen-puppet should prepare all files in a single directory, and then process it - one transfer instead of separate operations for hiera, manifests and modules and anything else that I have not tried yet.

from kitchen-puppet.

grubernaut avatar grubernaut commented on July 2, 2024

Yeah that would definitely be a much faster operation than the multiple transfers that we are currently are performing. However, that would require user-end operations on the host system that test-kitchen is running. And I might see where that would be a concern for some users.

from kitchen-puppet.

neillturner avatar neillturner commented on July 2, 2024

I believe this is a matter for the driver not the provisioner.
i use my kitchen-ssh plugin. it supports ssh and sshgzip drivers. I use the sshgzip with cloud environments (AWS etc) and it is MUCH faster to send the repo once as a gzip file.
In AWS I use cloudformation to create my server before i use test-kitchen against it with driver kitchen-ssh using sshgzip driver.

from kitchen-puppet.

neillturner avatar neillturner commented on July 2, 2024

I'm going to close this. You can use the kitchen-shh with the sshgzip driver to get one file to copy to the server. Its quite valid for the provision to provide a set of files and directories to the driver to copy to the server. Its the drivers job to package them up into a gzip file or what and sent them to the server.

Closing....

from kitchen-puppet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.