We set up chef last summer but need a few changes now. Our chef config is in bitbucket (git), and I can send you access to our chef server, chef workstation & a testing node.
What needs to be done:
1) when deploying a node, chef should set server time to UTC time zone
2) we have some super old version of elasticsearch in chef. Please change so it installs elasticsearch 5.2.2 (= latest version)
3) Nginx/Openresty:
a) Add lua-rest-cookie to chef. Check if you can add that to the openresty installation easily.
(I now manually installed it via:
wget [login to view URL]
unzip [login to view URL]
cd lua-resty-cookie-master
make install
however now I have to have lua_package_path "/usr/local/lib/lua/?.lua;;"; which I would prefer if it were in same path as other stuff so I don't need to set the lua_package_path
b) I need this added to the nginx/openresty:
[login to view URL]
[login to view URL]
4) add ffmpeg to chef - it should be added to the cookbook which holds the nginx setup
5) add autossh to chef - it should be added to the default cookbook
6) add monit to chef - it should be added to the default cookbook
7) redis setup correction
we have multiple instances of redis per server. before it was hardcoded mess, now I changed it to be more flexible using a template. however I need your help to set the variables correctly & loop the recipe so X number of redis instances will be installed.
e.g.
slave_template
=> when deploying I specify e.g. 3 slaves in the command, then it will loop over slave_template and create 3 slaves.
If you have another idea to realize this, let me know
8) remove rcron
a) remove rcron package & from cookbook
b) instead set that the cron's we have now are added to default cookbook
c) make a new recipe for "backup_crons" which will contains 2 tasks for cron it should append to the existing crons on a node.
9) testing & documentation