Displaying 2 results from an estimated 2 matches for "repohost".
Did you mean:
remhost
2009 Mar 14
1
AARGH! I can't make rsync not copy dirs with --files-from option
....1.6-3.2.x86_64.rpm
/var/cache/zypp/packages/backports/x86_64/kio_iso-1.99.1.svn6082-7.1.x86_64.rpm
These files are on host 'alchemy'. I want to rsync them to host 'nirvana'
under /home/backup/rpms/(delta,i586,noarch,src,x86_64), respectively. The
rsync call in the script is is:
REPOHOST=nirvana.3111skyline.com
REPOPATH=/home/backup/rpms
TEMPDIR=/tmp/zyppcon
TMPDIREXISTS=0
RUSER=david
/usr/bin/rsync -auv --files-from=${TEMPDIR}/${i} /
${RUSER}@${REPOHOST}:${REPOPATH}/${i}
rsync is called from within a for loop where $i iterates through the files
(delta,i586,noarch,src,x86_64)...
2007 Apr 30
6
Best practice: how to set up mountpoints?
...path => "/mnt/nfs/repository",
ensure => directory,
recurse => true
}
# owner => "root",
# group => "root",
# mode => "0777",
# mount NFS partition
mount { "/mnt/nfs/repository":
device => "repohost.example.edu:/repository",
fstype => nfs,
options => "ro,tcp,bg,intr,soft,nfsvers=3",
dump => 0,
pass => 0,
ensure => mounted
}
# require => File["/mnt/nfs/repository"],
}
----
The NFS part works fine - the proper line is added to...