-
-
Save brianthelion/8d32238230d98d612535a10e551b313d to your computer and use it in GitHub Desktop.
Import/include idempotency in Saltstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set tmpdir = salt.temp.dir() %} | |
state_a: | |
file.directory: | |
- name: {{ tmpdir }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% from "A.sls" import tmpdir %} | |
include: | |
- A | |
state_b: | |
file.touch: | |
- require: | |
- state_a | |
- name: {{ tmpdir }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment