Use Salt to install the Salt master. The Salt master will not get restarted automatically, neither on configuration changes nor on package changes. Instead, it will need to be manually restarted to avoid interrupting the in-progress highstate as well as allow for proper update ordering. (Salt masters must be updated before Salt minions.) Use Jinja to generate the config file YAML directly, preventing typos in the master config file and providing access to master configuration options in the SLS file (e.g. the file_roots locations).