bjeavons / bakery-chef Goto Github PK
View Code? Open in Web Editor NEWBakery-enabled cluster of Drupal sites using Vagrant and Chef
Bakery-enabled cluster of Drupal sites using Vagrant and Chef
user: admin
password:1234
New with chef & vagrant, getting error trying to provision, below is the error portion
Something about sh: 1: /usr/sbin/sendmail: not found
I assume this is sendmail in the vm and not on my server, since I have a working sendmail.
...
==> default: [2014-07-24T09:48:16+00:00] INFO: execute[chown-masterd7-files-dir] ran successfully
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[install-masterd7]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y ----
==> default: STDOUT: You are about to DROP all tables in your 'masterd7' database. Do you want to continue? (y/n): y
==> default: STDERR: hostname: Name or service not known
==> default: No tables to drop. [ok]
==> default: Starting Drupal installation. This takes a few seconds ... [ok]
==> default: sh: 1: /usr/sbin/sendmail: not found
==> default: WD mail: Error sending e-mail (from [email protected] to [error]
==> default: [email protected]).
==> default: Installation complete. User name: admin User password: 1234 [ok]
==> default: Unable to send e-mail. Contact the site administrator if the problem [error]
==> default: persists.
==> default: ---- End output of cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y ----
==> default: Ran cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y returned 1
==> default:
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-3/chef-solo-1/cookbooks/bakery/recipes/drupal.rb
==> default:
==> default: 63: execute "install-#{site[:name]}" do
==> default: 64: command "cd #{site_dir}/htdocs; drush si --db-url=#{db_url} --account-pass=#{node[:drupal][:admin_password]} --site-name='#{site[:name]}' -y"
==> default: 65: end
==> default: 66: else
==> default:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/bakery/recipes/drupal.rb:63:in `block in from_file'
==> default:
==> default: execute("install-masterd7") do
==> default: action "run"
==> default: retries 0
==> default: retry_delay 2
==> default: command "cd /var/www/masterd7/htdocs; drush si --db-url=mysqli://bakery:bakery@localhost/masterd7 --account-pass=1234 --site-name='masterd7' -y"
==> default: backup 5
==> default: returns 0
==> default: cookbook_name :bakery
==> default: recipe_name "drupal"
==> default: end
...
installation of mysql currently fails due to out of date sources.
The mysql import sets admin email to vagrant@localhost but the site-install drush command sets it to an example.com.
Rake tasks
what else?
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.