[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rdist question



Hello everyone,

I'm having a little trouble w/ distfiles for Rdist.
I want to duplicate directory "web_site" from host "source" to host "target" in path /tmp on "target".

I found I could do this by:

$[user@source: ...] rdist -c web_site target:/tmp/

However, I can't get it to work using a distfile.
I have:

# a file to tell rdist what to do
D_ROOT_SOURCE = /tmp/html #document root on source box
SOURCE = ${D_ROOT_SOURCE}/web_site

# document root on the target box
D_ROOT_TARGET = /tmp

TARGET = ${D_ROOT_TARGET}/web_site # the production path
HOSTS = (iwmaster@nys32a-001:/${TARGET}) #production box host
#the above line always generates errors

FILES = (${D_ROOT_SOURCE})
${FILES} -> ${HOSTS}
              install;

I think rdist has a problem w/ the ":" in the HOSTS macro.
Can someone help me out?

Thank you very much

A
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Reply to: