A Chef Cookbook To Deploy Kevin on Linux Servers.
- Add the following recipes to your node run list.
{
"run_list": [
"recipe[kevin-cookbook::default]"
]
}
- Also add the following attributes to the node.
{
"mysql": {
"install": true, // To install MySQL (Not Recommended)
"create_db": true, // To Create the DB (Not Recommended)
"client": true // Recommended to set to true
},
"app": {
"branch": "master",
"repository": "https://github.com/Clivern/Kevin.git",
"fqdn": "xxx.xxx.x.xx", // Server Domain or IP
"env": {
"APP_KEY": "yxyxyxyxsydysyayysysysys",
"DB_CONNECTION": "mysql",
"DB_HOST": "127.0.0.1",
"DB_PORT": "3306",
"DB_DATABASE": "kevin",
"DB_USERNAME": "root",
"DB_PASSWORD": "root"
}
}
}
We recommend to install MySQL manually on the same server or another server.
- The node should be something like that:
{
"name": "node-01",
"chef_environment": "_default",
"normal": {
"tags": [
],
"mysql": {
"install": true, // To install MySQL
"create_db": true // To Create the DB
},
"app": {
"branch": "master",
"repository": "https://github.com/Clivern/Kevin.git",
"fqdn": "xxx.xxx.x.xx", // Server Domain or IP
"env": {
"APP_KEY": "yxyxyxyxsydysyayysysysys",
"DB_CONNECTION": "mysql",
"DB_HOST": "127.0.0.1",
"DB_PORT": "3306",
"DB_DATABASE": "kevin",
"DB_USERNAME": "root",
"DB_PASSWORD": "root"
}
}
},
"policy_name": null,
"policy_group": null,
"run_list": [
"recipe[kevin-cookbook::default]"
]
}
- Finally run the
chef-client
on your node.
Version 1.0.0:
Coming Soon :D
© 2018, Clivern. Released under The Apache Software License, Version 2.0.
Kevin-Cookbook is authored and maintained by @clivern.