help-cfengine
[Top][All Lists]
Advanced

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

Problems with include in copy action


From: Mark
Subject: Problems with include in copy action
Date: Wed, 1 Sep 2004 15:42:29 -0700

Hi,

I tried to copy a file from one directory to another on the local server:
...
copy:
  myclass::
    /etc/
      trustkey=true
      dest=/tmp/etc/
      r=inf
      mode=0600
      owner=root
      group=root
      include=my.cnf
...

Instead of only copying my.cnf, the entire tree was copied from /etc to
/tmp/etc
The documentation says "Specifying one of these automatically excludes
everything else except further include patterns.", which is the behaviour I
do ussually get when copying files from the policy host over to the local
server. But not in this case.

Why does this behave differently???

Thanks,

MARK




reply via email to

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