From 2077f33daeac6dbc97bc5e2b8aa948091ad3086a Mon Sep 17 00:00:00 2001 From: Eric Teubert Date: Tue, 6 Dec 2011 18:57:36 +0100 Subject: [PATCH] mount 3 most common used folders: themes, plugins, wordpress --- Vagrantfile | 6 +++--- {theme => plugins}/.gitkeep | 0 themes/.gitkeep | 0 wordpress/.gitkeep | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {theme => plugins}/.gitkeep (100%) create mode 100644 themes/.gitkeep create mode 100644 wordpress/.gitkeep diff --git a/Vagrantfile b/Vagrantfile index f902b8d..6b9b7d9 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -25,8 +25,9 @@ Vagrant::Config.run do |config| # 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 # 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", - "./theme" + config.vm.share_folder "themes" , "/var/www/wordpress/wp-content/themes" , "./themes" + 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 # 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 "apt" chef.add_recipe "wordpress" - # chef.add_recipe "custom" chef.json.merge!( "mysql" => { diff --git a/theme/.gitkeep b/plugins/.gitkeep similarity index 100% rename from theme/.gitkeep rename to plugins/.gitkeep diff --git a/themes/.gitkeep b/themes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/wordpress/.gitkeep b/wordpress/.gitkeep new file mode 100644 index 0000000..e69de29