I'm looking for a tool that will help me to define some configuration for example in JSON file or something containing what to install and how to setup the whole environment like install nginx, ruby, postgres and so on.
Is there anything that let me do that? Let's imagine I have a bunch of servers or I'm trying different VPS and I'd like to easily and fast configure them with the same setup instead of doing manually sudo apt-get install -y ...
each time and then configuring every component separately.