mount 3 most common used folders: themes, plugins, wordpress

This commit is contained in:
Eric Teubert 2011-12-06 18:57:36 +01:00
parent 0f3ba09614
commit 2077f33dae
4 changed files with 3 additions and 3 deletions

6
Vagrantfile vendored
View File

@ -25,8 +25,9 @@ Vagrant::Config.run do |config|
# Share an additional folder to the guest VM. The first argument is # Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the # an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder. # folder, and the third is the path on the host to the actual folder.
config.vm.share_folder "theme", "/var/www/wordpress/wp-content/themes/theme", config.vm.share_folder "themes" , "/var/www/wordpress/wp-content/themes" , "./themes"
"./theme" config.vm.share_folder "plugins" , "/var/www/wordpress/wp-content/plugins", "./plugins"
config.vm.share_folder "wordpress", "/var/www/wordpress" , "./wordpress"
# Enable provisioning with chef solo, specifying a cookbooks path (relative # Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles. # to this Vagrantfile), and adding some recipes and/or roles.
@ -38,7 +39,6 @@ Vagrant::Config.run do |config|
chef.add_recipe "git" chef.add_recipe "git"
chef.add_recipe "apt" chef.add_recipe "apt"
chef.add_recipe "wordpress" chef.add_recipe "wordpress"
# chef.add_recipe "custom"
chef.json.merge!( chef.json.merge!(
"mysql" => { "mysql" => {

0
themes/.gitkeep Normal file
View File

0
wordpress/.gitkeep Normal file
View File