-
-
Save whytewolf/67ec9b4175cfb6570d2b to your computer and use it in GitHub Desktop.
orchestration require.
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
ntp-servers: | |
salt.state: | |
- tgt: 'roles:ntp-server' | |
- tgt_type: grain | |
- sls: ntp | |
ntp-clients: | |
salt.state: | |
- tgt: 'roles:ntp-client' | |
- tgt_type: grain | |
- sls: ntp | |
- require: | |
- salt: ntp-servers |
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
Ubuntu 14.04: | |
salt.function: | |
- name: glance.image_create | |
- tgt: 'roles:glance' | |
- tgt_type: grain | |
- arg: | |
- name=Ubuntu 14.04 | |
- is_public=true | |
- disk_format=raw | |
- container_format=bare | |
- copy_from=http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment