Sample Vagrant setup to use the hwdmediashare cookbook easily without a proper Chef development environment.
It will provision a development box for Joomla/hwdMediaShare with all requirements installed:
- Ubuntu 14.04
- Apache 2.4 + mod_h264 module
- PHP 5.5
- MySQL
- Multimedia conversion tools: ffmpeg, yamdi, qt-faststart,imagemagick,...
- adminer for easy MySQL management
- synced joomla folder
- Install Vagrant
- Install VirtualBox
- Install the Vagrant omnibus plugin
- Clone this repo
- vagrant up
- Make yourself a cup of coffee
- Profit!
After a successful run http://172.28.128.3 will show Joomla installation page.
While all the chef meat is on the original cookbook https://github.com/marpada/hwdmediashare-cookbook, the Vagrant file exposes the most important attributes:
node['mysql']['server_root_password']
: MySQL root passwordnode['hwdmediashare']['mysql']['joomla_db_name']
: Joomla DB namenode['hwdmediashare']['mysql']['joomla_db_user']
: Joomla DB usernode['hwdmediashare']['mysql']['joomla_db_password']
: Joomla DBnode['hwdmediashare']['joomla_package_url']
: URL to Joomla tarball (.tar.gz)
Several chef community cookbooks are leveraged (apache,mysql,php) so feel free to override their attributes to your convenience.
Author: David Pando ([email protected])
License: MIT License.