© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. MallettSalt Openhttps://doi.org/10.1007/978-1-4842-7237-4_9

9. Creating Reusable State Files

Andrew Mallett1  
(1)
Peterborough, UK
 

So far, we have seen that Salt has been pretty easy to use, the underlying Python subsystems helping us differentiate the various needs of the underlying OS. However, we have chosen carefully to install packages with matching names on both Ubuntu and Red Hat–based systems, like CentOS Stream. We will have encountered more problems ensuring that the Vim text editor was installed. The package to install is simply vim on Debian-based systems and vim-enhanced on Red Hat–based systems. This extends into many services too; if we want ...

Get Salt Open: Automating Your Enterprise and Your Network now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.