Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/tinc/infra/hosts:
- file.recurse:
- - name: /etc/tinc/infra/hosts/
- - dir_mode: 2775
- - file_mode: 0644
- - source: salt://tinc/infra/hosts
- - include_empty: True
- /etc/tinc/infra/tinc.conf:
- file.managed:
- - source: salt://tinc/infra/tinc.conf
- - template: jinja
- - context:
- host : "grains.host"
- peers:
- - "gw01"
- - "gw02"
- - "gw03"
- - "gw04"
- - "gw05"
- - "gw06"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement