Created
September 22, 2016 15:09
-
-
Save jacoelho/151ef20ec0b7e394d27c65c457116246 to your computer and use it in GitHub Desktop.
kitchen multi node
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
| suites: | |
| - name: node1 | |
| run_list: | |
| - recipe[app_vault::default] | |
| attributes: | |
| app_vault: | |
| node2: <%= '"' + YAML::load_file('.kitchen/node2-rhel-7.yml')['hostname'] + '"' %> | |
| node3: <%= '"' + YAML::load_file('.kitchen/node3-rhel-7.yml')['hostname'] + '"' %> | |
| - name: node2 | |
| run_list: | |
| - recipe[app_vault::default] | |
| attributes: | |
| app_vault: | |
| node1: <%= '"' + YAML::load_file('.kitchen/node1-rhel-7.yml')['hostname'] + '"' %> | |
| node3: <%= '"' + YAML::load_file('.kitchen/node3-rhel-7.yml')['hostname'] + '"' %> | |
| - name: node3 | |
| run_list: | |
| - recipe[app_vault::default] | |
| attributes: | |
| app_vault: | |
| node1: <%= '"' + YAML::load_file('.kitchen/node1-rhel-7.yml')['hostname'] + '"' %> | |
| node2: <%= '"' + YAML::load_file('.kitchen/node2-rhel-7.yml')['hostname'] + '"' %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment