Skip to content

Instantly share code, notes, and snippets.

@h0lyalg0rithm
Last active August 29, 2015 14:01
Show Gist options
  • Save h0lyalg0rithm/d5490bd3bd5348fd75e1 to your computer and use it in GitHub Desktop.
Save h0lyalg0rithm/d5490bd3bd5348fd75e1 to your computer and use it in GitHub Desktop.
Cheffile for lamp stack
# File Cheffile
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'
cookbook 'apt'
cookbook 'php'
cookbook 'apache2'
cookbook 'mysql'
# File /nodes/localhost.json
{
"run_list":[
"recipe[apt]",
"recipe[apache2]",
"recipe[php]",
"recipe[mysql::server]"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment