You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
/tmp/bgpq3:
|
|
file.managed:
|
|
- source: salt://bgpq3-linux-amd64
|
|
- mode: 755
|
|
|
|
/tmp/bind.so:
|
|
file.managed:
|
|
- source: salt://bind.so
|
|
- mode: 755
|
|
|
|
/config/config.new:
|
|
file.managed:
|
|
- template: jinja
|
|
- source: salt://vyos.conf.j2
|
|
- require:
|
|
- file: /tmp/bgpq3
|
|
- file: /tmp/bind.so
|
|
|
|
configure:
|
|
cmd.script:
|
|
- source: salt://load-configure-compare-commit.sh
|
|
- shell: /bin/vbash
|
|
- runas: minion
|
|
- require:
|
|
- file: /config/config.new
|
|
|
|
/config/hphr.rules.v4:
|
|
file.managed:
|
|
- template: jinja
|
|
- source: salt://bcp38.iptables.v4
|
|
|
|
/config/hphr.rules.v6:
|
|
file.managed:
|
|
- template: jinja
|
|
- source: salt://bcp38.iptables.v6
|
|
|
|
/config/hphr.ipset:
|
|
file.managed:
|
|
- template: jinja
|
|
- source: salt://bcp38.ipset.j2
|
|
|
|
chmod /config/scripts/vyos-postconfig-bootup.script:
|
|
cmd.run:
|
|
- name: sudo chmod 760 /config/scripts/vyos-postconfig-bootup.script
|
|
|
|
/config/scripts/vyos-postconfig-bootup.script:
|
|
file.managed:
|
|
- template: jinja
|
|
- source: salt://postconfig.sh
|
|
- mode: 760
|
|
- require:
|
|
- cmd: chmod /config/scripts/vyos-postconfig-bootup.script
|
|
- file: /config/hphr.rules.v4
|
|
- file: /config/hphr.rules.v6
|
|
- file: /config/hphr.ipset
|
|
cmd.run:
|
|
- name: sudo /config/scripts/vyos-postconfig-bootup.script
|
|
- require:
|
|
- file: /config/scripts/vyos-postconfig-bootup.script
|
|
- cmd: configure
|