Closed grypyrg closed 11 years ago
I see what you're trying to accomplish. I really mean for this repo to be setup as a submodule to some other repo for you to create your custom environments in and for the Vagrantfiles to be examples and the puppet manifests to be generic enough reuse without serious modification.
Also I use the fact that the .vagrant files are in the same directory in the PXC tutorial (https://github.com/percona/xtradb-cluster-tutorial/tree/v2) to make it easy to change the same vagrant nodes from master/slave to PXC by just changing the symlink., though of course there it's a separate repo and certainly it's easy enough to set it up that way just there.
I'll mull this over a bit.
Yeah, didn't know about the submodule. Anyway, if you think Vagrantfile.* is the way to go. I made https://github.com/grypyrg/vagrant-percona-playground by using submotules
I placed all Vagrantfiles in environments/, each in their own subdirectory.
Why?
One downside now is that pxc-bootstrap.sh fits 2 environments, so that's why I kept it in the root.
Kenny