diff --git a/code/files/logrotate_nginx b/code/files/logrotate_nginx deleted file mode 100644 index 528f7e3de1943def22128de33b1f8a5b66e2e03a..0000000000000000000000000000000000000000 --- a/code/files/logrotate_nginx +++ /dev/null @@ -1,12 +0,0 @@ -/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 -} diff --git a/code/manifests/init.pp b/code/manifests/init.pp index b96e49a30554a57b915af4f49dc535d929aec1f2..ba23cefc8c1ef32cc1a5bfc2498d64ea4728639b 100644 --- a/code/manifests/init.pp +++ b/code/manifests/init.pp @@ -237,15 +237,6 @@ class dirac ($dirac_user = 'dirac', $dirac_group = 'dirac', 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': ensure => running, require => [Package['nginx16'],