How to ignore certain directories for a folder managed recursively?

asked 2018-08-29 08:05:16 -0600

nmajin gravatar image

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?

edit retag flag offensive close merge delete