mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 18:35:18 +00:00
0dde1b0758
netifrc module and /etc/conf.d/net configuration update.
31 lines
507 B
Plaintext
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
|