On 2010-05-17 03:42:43 AM, Jon Stanley wrote:
> ---
> modules/rsync/files/rsync.noc01 | 14 ++++++++++++++
> modules/rsync/files/rsyncd.conf.noc01 | 16 ++++++++++++++++
> modules/scripts/files/syncHttpLogs.sh | 1 +
> 3 files changed, 31 insertions(+), 0 deletions(-)
> create mode 100644 modules/rsync/files/rsync.noc01
> create mode 100644 modules/rsync/files/rsyncd.conf.noc01
>
> diff --git a/modules/rsync/files/rsync.noc01 b/modules/rsync/files/rsync.noc01
> new file mode 100644
> index 0000000..f02e097
> --- /dev/null
> +++ b/modules/rsync/files/rsync.noc01
> @@ -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.noc01
> b/modules/rsync/files/rsyncd.conf.noc01
> new file mode 100644
> index 0000000..eb2c13d
> --- /dev/null
> +++ b/modules/rsync/files/rsyncd.conf.noc01
> @@ -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
> +
> diff --git a/modules/scripts/files/syncHttpLogs.sh
> b/modules/scripts/files/syncHttpLogs.sh
> index cf388dc..1ffa8ff 100644
> --- a/modules/scripts/files/syncHttpLogs.sh
> +++ b/modules/scripts/files/syncHttpLogs.sh
> @@ -38,3 +38,4 @@ syncHttpLogs proxy07
> syncHttpLogs secondary1
> syncHttpLogs hosted1 old
> syncHttpLogs people1 old
> +syncHttpLogs noc01
> --
> 1.5.5.6
+1, but you'll need to add aninclude rsync::server in manifests/servergroups/noc.pp as well. Thanks, Ricky
pgp9CihtWBiKk.pgp
Description: PGP signature
_______________________________________________ infrastructure mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/infrastructure
