Posts

Showing posts from January, 2016

Integrate SaltStack with other applications through SALT-API(rest_cherrypy):

 I was looking for the config management / remote execution tools and found SALT-STACK which fulfills the exact needs.   But, when it comes to integrate with other / our custom applications we had rest_tornado, rest_wsgi and rest_cherrypy options, i must thanks to Benjamin Cane and The Reluctant Tecchie who gave me the simple and best understanding about the SALT-API(rest_cherrypy) and configuring it to allow third party services to initiate SaltStack executions.  Well, I'm using Ubuntu server as my salt-master(single salt-master and one Minion: 'my-api-minion' connected.) so i took the apt-get method to install the package , # apt-get install salt-api Generating the key to create SSL Certificate. # openssl genrsa -out /etc/ssl/private/key.pem 4096 Sign the key and generate a certificate: # openssl req -new -x509 -key /etc/ssl/private/key.pem -out /etc/ssl/private/cert.pem -days 1826 rest_cherrypy configuration: added below values in /etc/salt/master: rest_cherrypy: