[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copy command copies directories I don't want
From: |
Mark Burgess |
Subject: |
Re: Copy command copies directories I don't want |
Date: |
Wed, 24 Aug 2005 09:41:57 +0200 |
ignore=
On Tue, 2005-08-23 at 23:55 -0700, Mark wrote:
> $(config_download_dir)/etc/
> trustkey=true
> action=fix
> dest=/etc/
> r=inf
> mode=0644
> owner=root
> group=root
> server=$(policy_host)
> include=hosts
> include=openldap/ldap.conf
> include=ldap.conf
> include=nsswitch.conf
> include=system-auth
> type=checksum
>
> The above configuration copies a folder
> /etc/ipsec.d/autostart.d.___hq___ from the policy host to the local /etc/
> directory. However, it does not copy the contents (files)
> of that folder.
> Since none of the include-patterns match this directory name, I did not
> expect it to copy it...
> How can I prevent this directory from being copied?
>
> I tried filters:
> { ignore_dirs
> Type: "dir"
> Result: "!Type"
> }
>
> but now it does not copy the system-auth (in /etc/pam.d) and
> openldap/ldap.conf (in /etc/openldap) any more either although they are
> specified in the include-patterns.
>
> Is there a way to do what I want without having to make a new copy command
> for each subfolder???
>
> I found discussions about similar problems in the past, but no fix yet...
>
> Thanks,
>
> MARK
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
- Re: cfagent segfaults during kickstart on FC4, (continued)
- Re: cfagent segfaults during kickstart on FC4, Jeremy Dreese, 2005/08/17
- avoid cfengine run during %post section of KickStart installs, Jeremy Mates, 2005/08/18
- Re: cfagent segfaults during kickstart on FC4, Mark Burgess, 2005/08/18
- Message not available
- Re: cfagent segfaults during kickstart on FC4, Klaus, 2005/08/19
- Re: cfagent segfaults during kickstart on FC4, Knut Auvor Grythe, 2005/08/19
- Re: cfagent segfaults during kickstart on FC4, Eric Sorenson, 2005/08/19
- Message not available
- Re: cfagent segfaults during kickstart on FC4, Klaus, 2005/08/22
- Copy command copies directories I don't want, Mark, 2005/08/24
- Re: Copy command copies directories I don't want,
Mark Burgess <=
- RE: Copy command copies directories I don't want, Mark, 2005/08/24
- RE: Copy command copies directories I don't want, Mark Burgess, 2005/08/24
- RE: Copy command copies directories I don't want, Mark, 2005/08/24
- RE: Copy command copies directories I don't want, Mark, 2005/08/24
- RE: Copy command copies directories I don't want, Mark, 2005/08/24
- RE: Copy command copies directories I don't want, Ed Brown, 2005/08/24
- RE: Copy command copies directories I don't want, Mark, 2005/08/24
- RE: Copy command copies directories I don't want, Ed Brown, 2005/08/25
- RE: Copy command copies directories I don't want, Mark, 2005/08/25
- RE: Copy command copies directories I don't want, Tim Nelson, 2005/08/29