help-cfengine
[Top][All Lists]
Advanced

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

Re: problem w/ copying files


From: root
Subject: Re: problem w/ copying files
Date: Fri, 29 Oct 2004 09:39:38 -0400

Nothing happens - I modified the resolv.conf on the clients resolv.conf by deleting one of my name servers and ran cfagent. Nothing happened. I removed the clients resolv.conf and ran cfagent and again nothing happened... Do the files to be copied need to be in a certain location?

Thanks
Ted Fiedler

On Fri, 29 Oct 2004 Mark.Burgess@iu.hio.no wrote:




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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]