tlu/salt/states/wol/init.sls

13 lines
283 B
Plaintext
Raw Permalink Normal View History

2021-10-16 13:59:28 +00:00
install net-tools:
pkg.installed:
- name: net-tools
configure bin/wol:
file.managed:
- name: /home/{{ pillar['username'] }}/bin/wol
- source: salt://wol/files/wol.jinja
- template: jinja
- user: {{ pillar['username'] }}
- group: users
- mode: "0755"