Maybe i'm asking a stupid question, but i'm wondering if it's possible to generate a vagrant file from a development server that is already running. I'm asking because the software that we are making has ZERO documentation and i'm making a VM with vagrant and puppet but i don't know all the dependency that the software needs to run successfully.

So my question is can you automatically create a vagrant file that is a perfect clone of a server ? It's Linux centOs server.

有帮助吗?

解决方案

sudo puppet resource package

can get you as far as at least knowing what versions of what packages your server is running. Put that in a Puppet manifest and you already have something decent to work with.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top