All,
I am running cfrun on policy server and getting this response back from
client1:
cf:cfengine:client1:/var/cfengine/inputs/cfagent.conf:1: Warning:
invalid statement
cfengine:client1: Can't stat
/var/cfengine/masterfiles/inputs/cfagent.conf in copy

I am expecting that it pull the configs from the policy server located
on /var/cfengine/masterfiles/inputs/cfagent.conf . But it looks like it
is checking "/var/cfengine/masterfiles/inputs/cfagent.conf " locally
(on client1).  Does any one have any insight into this.

Thanks.

update.conf file:
======================================
control:
  actionsequence  = ( copy )
  domain          = ( mydomain.com )
  policyhost      = ( leader.mydomain.com  )

# smtpserver      = ( smtp.domain.com )
# sysadm          = ( [EMAIL PROTECTED] )

  master_cfinput  = ( /var/cfengine/masterfiles/inputs )
  repository      = ( /var/cfengine/outputs )

copy:
     $(master_cfinput)/cfagent.conf    dest=/etc/cfengine/cfagent.conf
                                       mode=644
                                       server=$(policyhost)
                                       force=true
                                       trustkey=true

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to