Skip to content

onddo/app-myphpsite-cookbook-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Application cookbook example for an Onddo blog's post.

Requirements

Cookbooks:

  • apache2
  • database
  • php

Usage examples

In the Run List

{
  "name": "NODE-NAME",
  [...]
  "run_list": [
    "recipe[app-myphpsite]"
  ]
}

Via SSH

$ knife bootstrap NODE-NAME \
  --ssh-user USER \
  --run-list "recipe[app-myphpsite]" \
  --sudo

Using Amazon EC2

# Ubuntu 12.04 LTS amd64 in us-east-1 (ami-856f02ec)
$ knife ec2 server create \
  --image ami-856f02ec \
  --ssh-user ubuntu \
  --flavor t1.micro \
  --region us-east-1 \
  --groups testing \
  --node-name app-myphpsite-1 \
  -T Name=app-myphpsite-1 \
  --run-list 'recipe[app-myphpsite]'

Attributes

node['myphpsite']['version'] - Worpress version to install (defaults to "3.5.1")

Recipes

app-myphpsite::default

Installs and configures app-myphpsite PHP application. This example installs a Worpress blog.

License and Author

Author:: Onddo Labs, Sl. ([email protected])

Copyright:: 2013, Onddo Labs, Sl. (www.onddo.com)

License:: Apache 2.0

About

Installs and configures app-myphpsite, an application cookbook example for the blog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages