You don't say what happens/doesn't happen.
M
On 29 Oct, root@pcbackup.cs-sm.uic.com wrote:
Im rather new at this and have had luck with all classes execpt with copy:
im running cf engine 2.1.11a4 the server is a slackware box and clients
are redhat
here are the lines Im haveing issues w/
filestocopy = ( /usr/local/cfengine/files )
scriptstorun = ( /usr/local/cfengine/scripts )
copy:
linux::
$(filestocopy)/all/resolv.conf dest=/etc/resolv.conf
type=checksum
verify=true
owner=root
group=root
mode=644
and when I run cfagent -d2 | tee cfagent.out here are the relevant lines I
get.
COPY /usr/local/cfengine/files/all/resolv.conf
Mode +644
-7133
TO dest: /etc/resolv.conf
action: fix
Size > -1
IfElapsed=1, ExpireAfter=120
recurse=0
xdev = n
uids = ( 0 )
gids = ( 0 )
filters:
exclude:
ignore:
symlink:
include:
classes = linux
method = c (time/checksum)
server = localhost (encrypt=n,verified=y)
accept the server's public key on trust? n
purging = n
Define
ElseDefine
FailoverClasses
Single backup archive
Im not quite sure what Im doing wrong here. Any pointers would be greatly
appreciated.
Ted Fiedler
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~