mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 18:35:18 +00:00
28 lines
465 B
Plaintext
28 lines
465 B
Plaintext
include:
|
|
- ssl.openssl
|
|
- augeas.lenses
|
|
- logrotate
|
|
- .pkg
|
|
- .service
|
|
|
|
extend:
|
|
nginx:
|
|
service.running:
|
|
- watch:
|
|
- pkg: www-servers/nginx
|
|
- pkg: openssl
|
|
nginx-reload:
|
|
service.running:
|
|
- require:
|
|
- pkg: www-servers/nginx
|
|
|
|
|
|
/etc/logrotate.d/nginx:
|
|
file.managed:
|
|
- source: salt://nginx/files/nginx.logrotate
|
|
- mode: 644
|
|
- user: root
|
|
- group: root
|
|
- require:
|
|
- file: /etc/logrotate.d/
|