Created
August 9, 2017 22:37
-
-
Save vtolstov/c426fc5e8f8688ac58334c7a4cc81c63 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
common/*.sls | |
system/{{ __grains__['os'].lower() }}-{{ __grains__['osrelease'].lower() }}-{{ __grains__['osarch'] }}.sls | |
{% set hostname, domainname = minion_id.split('.',1) %} | |
envs/{{ domainname | replace('.','_') }}/*.sls | |
roles/{{ hostname.rstrip('0123456789') }}.sls | |
nodes/{{ domainname | replace('.','_') }}/{{ hostname }}.sls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment