Hi Jason,
That's exactly what I want.
I use a dir->dir copy for my main config file trees
(/var/cfengine/roots/any -> /, /var/cfengine/roots/linux -> /, etc.),
but I am trying to deal with the special case of creating a bootstrap
directory for jumpstarts and kickstarts. Fo
We do this by turning single copy one, and having a r=inf in the copy statement. Example:
cfgagent.conf
...
control:
singlecopy = ( on )
...
cf.copy
copy:
$(masterfiles)/copy/hosts/$(host)
dest=/
...
r=inf
...
In the source dir
On Wed, Jul 12, 2006 at 08:39:58AM +1200, Dax Bunce wrote:
> ${source_directory}
> dest=/jumpstart/bootstrap/
> r=inf
>
> Is that what you mean?
I think he is looking for the equivalent of "rsync /tmp/a /tmp/b
/var/d /foo/f" where by several different source directories can
be
Brian C. Hill wrote:
> Hello,
>
> I want to copy some specific files to a jumpstart root.
>Since cfengine will only do file->file dir->dir, this does not
>seem possible to do with cfengine in one short statement as it
>is with rsync, rdist, find/cpio, tar, etc..
>
> Here is a sho
Jason Martin wrote:
> On Mon, Jul 10, 2006 at 12:38:25PM -0700, Brian C. Hill wrote:
>> /jumpstart/bootstrap/etc/ssh/sshd_config
>> /jumpstart/bootstrap/etc/init.d/sshd
>> /jumpstart/bootstrap/usr/openssh
>> /jumpstart/bootstrap/var/empty
>>
>> With rsync, rdist, etc..:
>>
On Mon, Jul 10, 2006 at 12:38:25PM -0700, Brian C. Hill wrote:
> /jumpstart/bootstrap/etc/ssh/sshd_config
> /jumpstart/bootstrap/etc/init.d/sshd
> /jumpstart/bootstrap/usr/openssh
> /jumpstart/bootstrap/var/empty
>
> With rsync, rdist, etc..:
>
> $(file) -> /ju