Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample cookbook setup for an opinionated development workflow using Berkshelf and Vagrant for cookbook development and testing.
Ruby
branch: master

Refactor into separate webserver/database recipes; use attributes whe…

…n appropriate

And thus ends our workshop demo
latest commit 4f9c43f2cb
@natacado authored
Failed to load latest commit information.
attributes
files/default Refactor into separate webserver/database recipes; use attributes whe…
recipes Refactor into separate webserver/database recipes; use attributes whe…
templates/default Actually install the PHP website - first fully working version!
.gitignore
Berksfile initial commit
Gemfile initial commit
LICENSE initial commit
README.md Refactor into separate webserver/database recipes; use attributes whe…
Vagrantfile
chefignore initial commit
metadata.rb

README.md

myface cookbook

Requirements

  • Chef 11.04 or higher
  • CentOS 6.3

Usage

Example cookbook written to show Application Cookbook patterns

Attributes

default['myface']['database']['host'] = 'localhost' default['myface']['database']['username'] = 'root' default['myface']['database']['password'] = node['mysql']['server_root_password'] default['myface']['database']['dbname'] = 'myface'

default['myface']['database']['seed_file'] = '/tmp/myface-init.sql

Recipes

default.rb

  • Install the full myface stack on a single node

database.rb

  • Install MySQL
  • Creates MySQL schema, seeds schema with test data

webserver.rb

  • Installs Apache and mod_php
  • Install the php-mysql library
  • Disables Apache default website
  • Configure Apache for Myface
  • Deploys Myface

Author

Author:: Paul Paradise (paul.paradise@socrata.com)

Something went wrong with that request. Please try again.