Skip to content
Snippets Groups Projects
Commit 58b5e365 authored by Marko Petric's avatar Marko Petric
Browse files

Revert "Merge branch 'logrotate' into 'qa'"

This reverts merge request !40
parent 4943a7a4
No related branches found
No related tags found
No related merge requests found
/opt/dirac/data/log/nginx/*log {
create 0644 nginx nginx
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /opt/rh/nginx16/root/var/run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
...@@ -237,15 +237,6 @@ class dirac ($dirac_user = 'dirac', $dirac_group = 'dirac', ...@@ -237,15 +237,6 @@ class dirac ($dirac_user = 'dirac', $dirac_group = 'dirac',
content => template($nginx_tpl_path), content => template($nginx_tpl_path),
} }
file { '/etc/logrotate.d/nginx16-nginx':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
require => Package['nginx16'],
source => 'puppet:///modules/dirac/logrotate_nginx',
}
service { 'nginx16-nginx': service { 'nginx16-nginx':
ensure => running, ensure => running,
require => [Package['nginx16'], require => [Package['nginx16'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment