Feature #6788
closedAdd a puppet class filter to the scanner to filter puppet class imports based on directory or name
Description
Several puppet deployments follow the module, profile(aka service), role pattern. Using this pattern, only roles will be applied to servers so all other puppet modules are irrelevant from foreman perspective. Such a feature can dramatically decrease the amount of time it takes to scan unnecessary modules wich multiplies by the amount of environments.
Proposal:
Add two additional settings to the smart_proxy:
:puppet_ignore_modulefolder:
- services
- modules
This one prevents scanning of listed directories in your module path
and
:puppet_include_modules: "role_*"
This one only includes modules with a specific name
Both settings are completely optional, the first supports multi-module dir struktures while the latter supports flat structures, too while it would also work with multi module dir structures.