Commit graph

11 commits

Author SHA1 Message Date
Kevin Fenzi
669c58b9a1 Try and make sure and send stderr on too so we don't get spammed 2015-12-08 20:32:31 +00:00
Adrian Reber
ea8b15e5d7 logrotate fails if files are not owned by root
Ignoring /etc/logrotate.d/s3-mirror because the file owner is wrong
(should be root).
2015-11-18 09:54:38 +00:00
Kevin Fenzi
90043a1ca4 Fix up quoting 2015-10-11 15:37:40 +00:00
Kevin Fenzi
4f2028866d Make s3 mirror only nag once per day. 2015-10-11 15:19:09 +00:00
Adrian Reber
36952cb189 Fix the s3sync report_mirror file names
The s3sync has been running successfully for some time now.
Unfortunately the last step, which runs report_mirror to update the
status of the s3 mirrors, failed as the report_mirror configuration
files had wrong names (missing .conf).
2015-09-11 20:00:15 +00:00
Adrian Reber
7efbd7f504 Fix s3sync and start it via cron.
This changes the s3sync setup at multiple places:

 * The s3sync script was using wrong paths which are now corrected
 * After the sync report_mirror was started which is now installed
 * The necessary report_mirror files are installed
 * The s3sync script is now running from cron instead as a service
 * Before touching any files fedmsg is queried to see if new files
   are available for syncing
 * logrotate has been adapted to the new setup
2015-08-20 18:36:07 +00:00
Kevin Fenzi
957c7c803d No need for mirrormanager-client here. 2015-07-27 19:47:29 +00:00
Kevin Fenzi
4237768025 These groups aren't there either. 2015-07-27 19:44:08 +00:00
Kevin Fenzi
3b11f96856 There's no apache user on mm-backend01, so no need to add s3sync to it's group. 2015-07-27 19:40:55 +00:00
Kevin Fenzi
2c5a5af8a1 Add s3-mirror role to mm-backend01
Add cron job for s3logs-sync, but disabled for now.
2015-07-27 19:37:54 +00:00
8c4931e0f9 most of s3-mirror role
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-07-27 19:14:17 +00:00