Skip to content

cmenning/symfony2-chef

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symfony2-chef Cookbook

Symfony2 website deployment

Requirements

operating systems

  • Ubuntu 12.04

cookbooks

  • 'apt'
  • 'application'
  • 'application_php'
  • 'symfony2'
  • 'htop'
  • 'mysql'
  • 'curl'
  • 'java'
  • 'npm'
  • 'nodejs'
  • 'mysql'
  • 'git'
  • 'php'
  • 'composer'

Attributes

symfony2-chef::default

Key Type Description Default
['app']['name'] String symfony
['app']['path'] String /site
['app']['repository'] String git@bitbucket.org:user/repo.git
['app']['deploy_key'] String
['app']['revision'] String master
['app']['force_deploy'] Boolean false
['app']['user'] String node[:apache][:user]
['app']['group'] String node[:apache][:group]
['app']['secret'] String change-me
['app']['packages'] Array ["acl", "php5-intl", "php5-gd", "php5-curl", "php5-mysql", "php5-xdebug", "php-apc"]
['app']['node']['packages'] Array ["less", "coffee-script"]
['app']['node']['install_method'] String package
['app']['node']['path'] String
['app']['node']['modules'] String
['app']['coffee']['path'] String /usr/local/bin/coffee
['app']['java']['path'] String /usr/bin/java
['app']['email']['name'] String Symfony
['app']['email']['address'] String noreply@example.com
['app']['mailer']['transport'] String smtp
['app']['mailer']['encryption'] String tls
['app']['mailer']['auth_mode'] String login
['app']['mailer']['host'] String 127.0.0.1
['app']['mailer']['port'] Integer 25
['app']['mailer']['user'] String ~
['app']['mailer']['password'] String ~
['app']['mailer']['enckey_path'] String /etc/chef/keys/smtp.key
['app']['database']['host'] String localhost
['app']['database']['port'] Integer ~
['app']['database']['name'] String symfony
['app']['database']['user'] String root
['app']['database']['password'] String ~
['app']['database']['enckey_path'] String /etc/chef/keys/mysql.key
['app']['database']['force_update'] Boolean false
['app']['database']['create'] Boolean false

Usage

symfony2-chef::default

Just include symfony2-chef in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[symfony2-chef]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: TODO:

  • Robert Dolca

  • Copyright 2013, Robert Dolca

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published