Hi all! So this is going to be a pretty long post, sorry up front.
I have all of my automation in place for building, deploying, and maintaining our applications using bash scripts and a front end website I created to gather information and call the scripts (ease of use so that I'm not as much of a bottle neck). Well the website got flagged because I used joomla to write it and some extensions are locked with an old version of php and security wants it gone. So I decided to modernize and wanted to move over to chef. I want to ease in so thought I'd run my plan by folks here and see if it seems plausible. Here's what I'm planning at this point.
Run a chef server that manages one node originally, the RedHat server that houses all of my bash scripts that maintain the servers. I would write recipes that call these scripts to do the various things that they do (deploy apps, stop apps, start apps...). I would need parameters that change in time for things such as the deployments. My plan is to write a simple web app that gathers the necessary parameters and builds attribute files for the recipes to use at runtime. I actually already have this code from the current website, but would have to redesign it to build parameter files rather than calling the bash scripts directly. This would, in essence, reproduce what I currently have.
Once that was in place, I would start breaking out functionality in the bash scripts a little at a time putting it into chef until all of the bash scripts were replaced by chef so I could retire these. Does this seem like a good plan? I'm just learning this stuff via a Udemy class (Chef Fundamentals: A Recipe for Automating Infrastructure). Any advise would be greatly appreciated! Thanks - Eric