Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to ignore certain directories for a folder managed recursively?

I have a strict case where i need to manage a folder on all hosts in one module and folders under this one in other modules, i.e.

module1: /var/module1
module2: /var/module1/module2
module3: /var/module1/module3

/var/module1 and all its contents (including subdirectories) need to be fully managed. In addition, /var/module1/module2, etc. need to be managed as well, but other modules will manage those.

I am aware of the ignore parameter in the file type, but it seems to only ignore specific file names. Is it possible to ignore specific folders or what is the best way to manage this?