##
##  synctool.conf
##

masterdir       @l_prefix@/var/synctool/master
logfile         @l_prefix@/var/syncrool/log/synctool.log

symlink_mode    0755
ignore_dotfiles no
ignore_dotdirs  yes
ignore          .svn

diff_cmd        @l_prefix@/bin/diff -u
ssh_cmd         @l_prefix@/bin/ssh -o ConnectTimeout=10 -q
scp_cmd         @l_prefix@/bin/scp -o ConnectTimeout=10 -p
rsync_cmd       @l_prefix@/bin/rsync -ar --delete -e 'ssh -o ConnectTimeout=10 -q'
synctool_cmd    @l_prefix@/sbin/synctool.py -c @l_prefix@/etc/synctool/synctool.conf

num_proc        64

group wn workernode batch
group test wn
group g1 batch test wn

node node0 master
node node1 fs sched    interface:node1-mgmt
node node2 login       interface:node2-mgmt
node node3 wn          interface:node3-mgmt
node node4 wn          interface:node4-mgmt
node node5 wn          interface:node5-mgmt
node node6 wn          interface:node6-mgmt
node node7 wn          interface:node7-mgmt
node node8 test        interface:node8-mgmt
node node9 batch       interface:node9-mgmt

ignore_node node0
ignore_node node9 any_arguments_here_are_ignored batch test
ignore_group test test2

on_update   /etc/aliases                    /usr/bin/newaliases
on_update   /etc/ssh/sshd_config            /etc/init.d/ssh reload
on_update   /etc/syslog-ng/syslog-ng.conf   /etc/init.d/syslog-ng reload
on_update   /etc/crontab                    /etc/init.d/cron reload
on_update   /etc/ntp.conf                   /etc/init.d/ntpd reload

on_update   /etc/logrotate.d                /bin/rm -f /etc/logrotate.d/*.saved
on_update   /etc/cron.d                     /bin/rm -f /etc/cron.d/*.saved
on_update   /etc/cron.daily                 /bin/rm -f /etc/cron.daily/*.saved

# always_run /bin/date

