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
| names: | |
| joe: { 'number': 1, 'dir': '/tmp/1' } | |
| mike: { 'number': 2, 'dir': '/tmp/2' } | |
| sally: { 'number': 3, 'dir': '/tmp/3' } |
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
| append-file: | |
| cmd: | |
| - cwd: /tmp | |
| - names: | |
| {% for user, number in pillar.get('names', {}).items() %} | |
| - echo {{ user }} {{ number }} >> logfile.txt | |
| {% endfor %} | |
| - run |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| #require 'vagrant-salt' | |
| require 'vagrant-hostmanager' | |
| # apart from the middleware node, create | |
| # this many nodes in addition to the middleware | |
| INSTANCES=5 |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| #require 'vagrant-salt' | |
| # apart from the middleware node, create | |
| # this many nodes in addition to the middleware | |
| INSTANCES=2 | |
| # the nodes will be called middleware.example.net |
NewerOlder