proxy07 logs sync additions (need review and +1)

Stephen John Smoogen smooge at gmail.com
Mon May 10 23:49:54 UTC 2010


Proxy07 was not set up with rsync added. This means the http logs for
a while have not been syncing. Fix is to copy, add, commit and push
rsync conf files that proxy[123456] have already. Please review and +1
or -1 before I push.

commit 347fa93b0bcf3e8b6f7f865177a728079b6d2904
Author: Stephen Smoogen <smooge at redhat.com>
Date:   Mon May 10 23:47:41 2010 +0000

    Add in proxy07 so sync's actually work

diff --git a/modules/rsync/files/rsync.proxy07
b/modules/rsync/files/rsync.proxy07
new file mode 100644
index 0000000..f02e097
--- /dev/null
+++ b/modules/rsync/files/rsync.proxy07
@@ -0,0 +1,14 @@
+# default: off
+# description: The rsync server is a good addition to an ftp server, as it \
+#       allows crc checksumming etc.
+service rsync
+{
+        disable         = no
+        socket_type     = stream
+        wait            = no
+        user            = root
+        server          = /usr/bin/rsync
+        server_args     = --daemon
+        log_on_failure  += USERID
+}
+
diff --git a/modules/rsync/files/rsyncd.conf.proxy07
b/modules/rsync/files/rsyncd.conf.proxy07
new file mode 100644
index 0000000..eb2c13d
--- /dev/null
+++ b/modules/rsync/files/rsyncd.conf.proxy07
@@ -0,0 +1,16 @@
+pid file = /var/run/rsyncd.pid
+syslog facility = daemon
+dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.bz2 *.iso
+use chroot = false
+transfer logging = false
+exclude = .snapshot/ .~tmp~/ /.private/ /.private/** **/.nfs*
+
+# For distributing applications
+[log]
+comment = Server Logs
+path = /var/log
+uid = root
+gid = root
+read only = yes
+hosts allow = 10.5.126.28 192.168.1.35


-- 
Stephen J Smoogen.
“The core skill of innovators is error recovery, not failure avoidance.”
Randy Nelson, President of Pixar University.
"We have a strategic plan. It's called doing things.""
— Herb Kelleher, founder Southwest Airlines


More information about the infrastructure mailing list