Salt State with Multiple SLS Files

One salt state can have multiple SLS files. Other files are included from init.sls, so you can just use folder name to run the whole multi file state.

Posted in Uncategorized | Tagged , , , , , , | Comments Off on Salt State with Multiple SLS Files

Preseed MySQL Server Password with Salt Stack

MySQL is the most popular multi-user database in the world. When you install MySQL Server automatically, you must set database root password without asking user to type it. On Debian and Ubuntu, you can use Preseed to answer installer (apt-get) … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Comments Off on Preseed MySQL Server Password with Salt Stack

Implementing Package-File-Service Pattern as a Salt Stack PyObjects Function

PyObjects renderer allows you to use normal Python functions to repeat actions. In this article, we’ll implement a Package-File-Service pattern as a reusable Python function.

Posted in Uncategorized | Tagged , , , , , , , , | Comments Off on Implementing Package-File-Service Pattern as a Salt Stack PyObjects Function

Salt Package-File-Service with Pyobjects

When you install Apache, the most popular web server in the world, you want to show web pages. In practice, you install the package, keep the service running and modify a configuration file. In configuration management, this is called package-file-service … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 7 Comments