xforty / chef-drupal Goto Github PK
View Code? Open in Web Editor NEWChef cookbook to install a drupal environment
Chef cookbook to install a drupal environment
Right now, we have to remember to manually set that variable if we change the project_name in the Vagrantfile. Should be able to just edit that php file and change the text from a recipe.
I missed some symbols during my last change. It's not currently breaking anything, but it would be nice to have consistency.
https://github.com/xforty/chef-drupal/blob/master/templates/default/web_app.conf.erb
Our drupal cookbook needs to include drush using our xforty::drush cookbook.
Currently, we have to configure a project name for the drupal cookbook. That is used for the apache virtual host with host-only networking. Let's do some convention over configuration here...
We currently use the website name for the project's repo name. I propose we use the Vagrantfile's containing folder name for the project name by default. It could be overridden if necessary. If the name starts with www
, that gets stripped off.
For example:
folder name | project name |
www.example.com | example.com |
my.example.com | my.example.com |
Attempting to run 10.04.4 in vagrant-drupal. Ran into this.
[Mon, 21 May 2012 18:33:38 -0400] INFO: template[/etc/iptables.d/all_established] sending run action to execute[rebuild-iptables] (delayed)
[Mon, 21 May 2012 18:33:38 -0400] INFO: Processing execute[rebuild-iptables] action run (iptables::default line 22)
[Mon, 21 May 2012 18:33:38 -0400] INFO: execute[rebuild-iptables] sh(/usr/sbin/rebuild-iptables)
[Mon, 21 May 2012 18:33:38 -0400] ERROR: execute[rebuild-iptables] (iptables::default line 22) has had an error
[Mon, 21 May 2012 18:33:38 -0400] ERROR: Running exception handlers
[Mon, 21 May 2012 18:33:38 -0400] ERROR: Exception handlers complete
[Mon, 21 May 2012 18:33:38 -0400] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[Mon, 21 May 2012 18:33:38 -0400] FATAL: Chef::Exceptions::ShellCommandFailed: execute[rebuild-iptables] (iptables::default line 22) had an error: Chef::Exceptions::ShellCommandFailed: Expected process to exit with [0], but received '25'
---- Begin output of /usr/sbin/rebuild-iptables ----
STDOUT:
STDERR: iptables-restore v1.4.4: Can't set policy `INPUT' on `ACCEPT' line 22: Bad built-in chain name
rebuild-iptables: iptables-restore failed! - 256 at /usr/sbin/rebuild-iptables line 134.
---- End output of /usr/sbin/rebuild-iptables ----
Ran /usr/sbin/rebuild-iptables returned 25
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.