Skip to content

Conversation

@danielparks
Copy link
Owner

Apparently using require within a Puppet module can violate environment isolation, since the puppetserver might search in other environments (or possibly not search at all if it’s cached) for the relevant files.

This doesn’t change file in spec, since those aren’t used within the puppetserver process.

Fixes #35

Apparently using `require` within a Puppet module can violate
environment isolation, since the puppetserver might search in other
environments (or possibly not search at all if it’s cached) for the
relevant files.

This doesn’t change files in spec/, since those aren’t used within the
puppetserver process.

Fixes #35
@danielparks danielparks merged commit 82e91ae into main Oct 30, 2022
@danielparks danielparks deleted the require_relative branch October 30, 2022 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch back to require_relative

2 participants