Code Monkey home page Code Monkey logo

ansible-role-beetbox-drupal's People

Contributors

alexskrypnyk avatar decipher avatar thom8 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

decipher thom8

ansible-role-beetbox-drupal's Issues

Drush si failing on Drupal 7

From beetboxvm/beetbox#273

vagrant@drupal-7-x-dev:/var/beetbox$ drush si
You are about to DROP all tables in your 'beetbox' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global option.                                                                                                                                                                         [ok]
sh: 1: /usr/sbin/ssmtp: not found
WD mail: Error sending e-mail (from [email protected] to [email protected]).                                                                                                                                                                                         [error]
Installation complete.  User name: admin  User password: F8jC4yrbDs                                                                                                                                                                                                  [ok]
Unable to send e-mail. Contact the site administrator if the problem persists.                                                                                                                                                                                       [error]

Add variable to include/exclude --no-gitinfofile option.

--no-gitinfofile option for drush make is used to include module version information and a last version commit timestamp.

Problem
Currently --no-gitinfofile is specified by default making dependency version resolution impossible as there is no information about versions provided. As a result, drush spits out anoying messages like the one below

Feeds entity processor requires this module and version. Currently   [warning]
using Feeds version  (Currently using Unresolved dependency Feeds
(Version >=7.x-2.0-beta1 required))

Solution
Add variable to allow optional inclusion of such CLI option. Whether to have it specified or not by default - can be discussed separately, but I personally would not want to have it specified by default as it breaks internal Drupal dependency discovery mechanisms by removing module versions.

PR is coming

Allow 'restart webserver' to be skipped, or remove.

Currently restart webserver is being invoked after the site is installed, which is unlikely to always be necessary, or isn't necessary at all.

Ability to skip this, or remove it entirely would be appreciated as it currently adds a requirement to the geerlingguy.php role, which on a pre-provisioned environment isn't absolutely necessary.

Run drush make from makefile directory.

Running the drush make command from the makefile's directory means that the copy type can be used with a url relative to the makefile, which is how I currently use it on all projects.

Add fix for email on install.

When installing, more often than not it will fail due to trying to send an email.

Fix is simple, append the si with:

/usr/bin/env PHP_OPTIONS="-d sendmail_path=`which true`" 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.