This is simple cookbook which installs and configures mysql server using original mysql cookbook.
depends 'mysql','~> 6.0'
depends "mysql2_chef_gem", "~> 1.0.1"
depends "database", ">= 1.6.0"
depends 'selinux', '~> 0.7'
List of supported platforms.
CentOS 6.5+
Ubuntu 14+
AWS Linux
| Key | Type | Description | Default |
|---|---|---|---|
| ['mysqlserver']['database']['instance_name'] | String | Database instance_name | default |
| ['mysqlserver']['database']['host'] | String | Database host | localhost |
| ['mysqlserver']['database']['port'] | Integer | Database port number | 3306 |
| ['mysqlserver']['database']['root_password'] | Password | Database Password | enterstrongpwd |
| ['mysqlserver']['database']['mysqlserver_version'] | String | mysql install version | 5.6 |
Include mysqlserver in your node's run_list:
{
"run_list": [
"recipe[mysqlserver::default]"
]
}Author:: Venkatesh Ainalli (venkiain@gmail.com)