salt-common/sls/openrc/modules.sls
2018-11-19 18:11:03 +03:00

27 lines
521 B
Plaintext

/etc/modules.d/:
file.directory:
- create: true
- user: root
- group: root
- mode: 755
/etc/modules.d/placeholder.conf:
file.managed:
- create: true
- replace: false
- user: root
- group: root
- mode: 755
- require:
- file: /etc/modules.d/
/etc/conf.d/modules:
file.managed:
- source: salt://openrc/files/modules.confd
- user: root
- group: root
- mode: 755
- require:
- file: /etc/modules.d/
- file: /etc/modules.d/placeholder.conf