Git Product home page Git Product logo

chef-drupal's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chef-drupal's Issues

Use the containing folder to set the drupal project name

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

Can't set policy `INPUT' on `ACCEPT' line 22: Bad built-in chain name

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.

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.