salt-common/sls/tayga/pkg.sls
Antsiferov Grigory 0dde1b0758 * sls/tayga
netifrc module and /etc/conf.d/net configuration update.
2016-07-18 21:15:34 +03:00

31 lines
507 B
Plaintext

tayga_pkg:
pkg.latest:
- name: net-proxy/tayga
tayga_user:
user.present:
- name: tayga
- system: True
- createhome: False
/etc/init.d/tayga:
file.managed:
- source: salt://tayga/tayga.initd
- mode: 755
- user: root
- group: root
/lib/netifrc/net/tayga.sh:
file.managed:
- source: salt://tayga/tayga.sh
- mode: 644
- user: root
- group: root
/var/db/tayga/:
file.directory:
- create: True
- mode: 750
- user: tayga
- group: tayga