by njpatel · 12y ago · 0 comments
For instance, with a couple lines of Python, I was able to 'react' to any new DigitalOcean instance that was created and able to update DNS records or Nginx config (if it was a certain type of instance). As someone is more of a developer than a infrastructure person, Salt saved me a lot of time.
Excuse the Python code...I'm very much not a Python guy! https://gist.github.com/njpatel/8603816