Open
Conversation
Add postgresql-related data to the chef.json hash in Vagrantfile Change default Drupal version to 7.22 Change default Drush version to 7.x-5.9 Add drupal['db']['type'] to the attributes to support different db types Add drupal['db']['port'] to the attributes to support setting the port for postgresql Add drupal['webserver']['type'] to the attributes to support different webservers (will be used later, when nginx support is ready) Revert to 'views' and 'webform' as default Drupal modules to stay in-line with the original cookbook Add tmux, htop and mc (temporarily) to support development work Separate the inclusions of apache- and nginx-related recipes Use either the mysql or the pgsql driver for php based on drupal['db']['type'] Include the postgresql::server or postgresql::client based on the host of the database when drupal['db']['type] is postgresql Rename the template to grant privileges for a mySQL db from grants.sql.erb to grants.mysql.sql.erb Create a template to grant privileges for a Postgresql db as grants.pgsql.sql.erb Rename mysql-install-drupal-privileges to install-drupal-privileges-to-mysql Create install-drupal-privileges-to-postgresql block Rename download-and-install-drupal to download-and-install-drupal-to-mysql Create download-and-install-drupal-to-postgresql block Fix indentation in Vagrantfile
Add php-fpm as a dependancy for the cookbook Change the default webserver to nginx and he default db to postgresql Add nginx-related settings to the (default) attributes Add php-fpm-related settings to the (default) attributes Change the webserver type from being stored in default['drupal']['webserver']['type'] to default['drupal']['webserver'] just to be similar to the solution used in the fork of the original drupal cookbook by RiotGames (https://github.com/RiotGames/drupal-cookbook) Create template drupal.conf.nginx.erb to be used as the site configuration with nginx Copy the template pool.conf.erb to be used as the php-fpm configuration from the one found in the php-fpm cookbook by yevgenko (https://github.com/yevgenko/cookbook-php-fpm) Include the nginx recipe by opscode (https://github.com/opscode-cookbooks/nginx) and the php-fpm recipe by yevgenko (https://github.com/yevgenko/cookbook-php-fpm) if the webserver to be used is nginx Run the original (apache-related) stuff only if the webserver to be used is the apache webserver If the 'webserver' to be used is nginx build a template to be used as nginx configuration for the Drupal site build php-fpm configuration to be used enable the nginx configuration for the Drupal site
Add .drupal.webserver to the Vagrantfile Add (temporarily) chef.log_level = :debug to the Vagrantfile Revert back to default['drupal']['webserver'] = 'apache' and default['drupal']['db']['type'] = 'mysql' to be closer to the original cookbook. Add logging about the webserver and db type. Handle case of unsupported webserver. Disable the apache default site right after configuring the apache web_app.
Reorder the attributes for a more logical order Clean up the recipes
Update CHANGELOG.md Update README.md Update metadata.rb Delete temporary grant.sql file in the default recipe Add information about the sources of the templates
Determine the default db port in the recipe Use the determined port in the db console invocations Change the Vagrantfile to use a VM with smaller memory
Change to default to installing postfix (needed to make drush happy) Change to default to set up cron in Drupal (for a more standard installation) Create the directory for Drupal if it does not exist Create the sites/default/files directory under the Drupal directory Create the Drupal database with UTF-8 encoding when using Postgresql Use the Ubuntu 13.04 provisionerless box from Opscode in Vagrant Update the Ubuntu/Debian box in Vagrant Use the omnibus plugin in Vagrant
CI should check only the new branch (with_nginx_and_postgresql) branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nginx (with php-pfm) and postgresql support, option to skip postfix installation and cron usage