-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) Restore the ability to load a Puppetfile from a relative `bas…
…edir` This commit updates the `R10K::Puppetfile` class to pass just the Puppetfile name to the module loader, rather than passing the whole path. Prior to this change, if you used a relative `basedir`, we'd pass a relative Puppetfile path to `R10K::ModuleLoader::Puppetfile`, which would then try to resolve the path against the `basedir` again. This resulted in attempting to load the Puppetfile from a path like `my/cool/basedir/my/cool/basedir/Puppetfile`, which doesn't exist, so loading would fail.
- Loading branch information
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters