Update logrotate for mirror server
Since this is currently unmanaged by openstack-infra, the default is to rotate logs every week, 52 times. Needless to say, we are running out of HDD space. Now we rotate every day, 7 times. This will cut down on the amount of HDD space apache2 logs require. Change-Id: I7baf62a36432f5d322e7f63e8c89bd6205974ca8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
fb877fe29d
commit
2391536525
@ -196,4 +196,16 @@ class openstack_project::mirror (
|
||||
File["${www_root}"],
|
||||
]
|
||||
}
|
||||
|
||||
class { '::httpd::logrotate':
|
||||
options => [
|
||||
'daily',
|
||||
'missingok',
|
||||
'rotate 7',
|
||||
'compress',
|
||||
'delaycompress',
|
||||
'notifempty',
|
||||
'create 640 root adm',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user