Code Snippets SaltStack

Short texts SaltStack 🧑‍💻 Code snippets SaltStack ✍️ Reading lists SaltStack 👀

Install docker, via salt, from official repos

# Created this state as part of the following: # PR on salt-jenkins: https://github.com/saltstack/salt-jenkins/pull/1714 # Related issue in salt: https://github.com/saltstack/salt/issues/60605 {%- set on_docker = salt[‘grains.get’](‘virtual_subtype’, ”) in (‘Docker’,) %} {%- set docker_pkg = ‘docker’ %} {%- set os_codename = salt[‘grains.get’](‘oscodename’, ”) if salt[‘grains.get’](‘os_family’, ”) == ‘Debian’ %} {%- set os_arch = salt[‘grains.get’](‘osarch’, ”) if salt[‘grains.get’](‘os_family’, […]