M
M
maximw2015-07-01 21:12:27
Puppet
maximw, 2015-07-01 21:12:27

How to include config file in config.yaml generated by PuPHPet?

I want to make a Vagrant virtual machine in which I would launch all sorts of my projects, which each lie in their own directory inside /var/www.
On https://puphpet.com I built a virtual machine with Apache.
In the resulting config.yaml config for Apache, one virtual host is configured.
I want to expand this config for multiple virtual hosts.
And here the problem arises: you either need to copy-paste the block c of the virtual host config in the config.yaml file, which will make it large and unreadable. Or find a way to "include" in config.yaml other files with settings for each virtual host. Can this be done and how?
PS Or maybe I'm not preparing this case correctly at all. And shouldn't it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-07-01
@Denormalization

If the goal is important, not the means, then I advise you to take the same Homestead .
Hosts\directories are configured easily and quickly from the config.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question