-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined Constant when running via Rake #332
Labels
Comments
chelnak
added a commit
that referenced
this issue
Oct 25, 2022
Prior to this commit users would recieve an Undefined Constant error when attempting to generate a reference file via the provided Rake tasks. This was caused by the compact testing style for modules added in v3.0. In this case the parent, PuppetStrings is not properly loaded before Tasks. As a result the error above is caused. This commit adds a new module declaration to tasks.rb that will ensure that the PuppetStrings is properly loaded.
chelnak
added a commit
that referenced
this issue
Oct 25, 2022
Prior to this commit users would receive an Undefined Constant error when attempting to generate a reference file via the provided Rake tasks. This was caused by the compact testing style for modules added in v3.0. In this case the parent, PuppetStrings is not properly loaded before Tasks. As a result the error above is caused. This commit adds a new module declaration to tasks.rb that will ensure that the PuppetStrings is properly loaded.
LukasAud
added a commit
that referenced
this issue
Oct 25, 2022
(GH-332) Ensure PuppetStrings is loaded for tasks
chelnak
added a commit
that referenced
this issue
Oct 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
When running puppet strings generate via the Rake tasks you may get an Undefined Constant error.
This is caused by the compact module nesting style added in 3.0.
f68b2be#diff-437c04dd59b7bc0942ed0926bcb8e40a007e3f4f31d6e57d79a1ff78c7e662a1L6
Expected Behavior
It should successfully generate a reference file
Steps to Reproduce
Steps provided by @bastelfreak
The text was updated successfully, but these errors were encountered: