puppetlabs / puppet-enterprise_issues

This repository will allow public community members to file bug reports against Puppet Enterprise
1 stars 0 forks source link

code-manager should adhere the new puppet module layout specification #40

Open bastelfreak opened 3 months ago

bastelfreak commented 3 months ago

Use Case

https://github.com/puppetlabs/puppet-specifications/pull/157 introduced an allowlist for files and directories in a puppet module. code-manager already has an option to exclude spec files. In setups with many environments and/or many modules the amount of useless files in the codedirs are quite high. That costs disk space, inodes and performance. filesync operations are heavily reduced by a huge amount of small files.

Describe the Solution You Would Like

I want a strict option in code-manager that only deploys files that are allowed by the new puppet module layout specification. Ideally this gets implemented directly into r10k.

Describe Alternatives You've Considered

A clear and concise description of any alternative solutions or features you've considered.

Additional Context

Add any other context or screenshots about the feature request here.

bastelfreak commented 4 weeks ago

Hey people, any chance this is going to be implemented soon? This is caused a lot of issues on big installations due to the amount of required IO and the amount of time for filesyncs to compilers.

bastelfreak commented 3 weeks ago

IMO this should be implemented in r10k: https://github.com/puppetlabs/r10k/issues/1387 And then code-manager should be able to use that feature