phpfu / puphpet-installer

Provides a composer custom installer that works with `loadsys/puphpet-release` to add a PuPHPet.com vagrant box to a project via composer.
MIT License
2 stars 1 forks source link

Use a more "default" folder structure #15

Closed deizel closed 8 years ago

deizel commented 8 years ago

In relation to #14, here are the changes related to the folder structure (and some PSR-2 formatting):

This means the .gitignore rules that are managed now look like this:

/.vagrant/
/puphpet/files/dot/
/puphpet/puppet/
/puphpet/ruby/
/puphpet/shell/
/puphpet/vagrant/
/puphpet/config-custom.yaml
/Vagrantfile

And files such as these are allowed to be versioned:

/puphpet/files/exec-once-unprivileged/dotfiles.sh
/puphpet/config.yaml

In summary, my changes do away with the root puphpet.yaml in favor of the intended config location, there is no longer a needed to move files around (deizel@642ea88), and by deleting the default config.yaml there isn't a chance of it getting wiped out during updates.

Needs some more testing/documentation before merging.