Using this simple repo with one of JetBrains IDE's with the Puppet plugin you can demonstrate the interference with the presence of a .fixtures.yml
file.
- If you use the IDE (observed in both WebStorm & PHPStorm) and Add dependencies as usual from project menu, a
.dependencies
directory will be created with the contents of the one demonstration module and its dependencies. - If you then look at
manifests/resolve-test.pp
you will find that reference to the dependent module is indicated as Can't resolve class definition and the specified parameters are marked as Can't resolve class parameter. - If you then REMOVE the (empty!)
.fixtures.yml
file, the above errors are fixed.
While investigating this on JetBrains YouTrack board, I ran across two issues that may be related.
- RUBY-19984: Puppet: can't resolve symbols on modules outside ./modules
- RUBY-20601: Puppet "Can't resolve template path" on "module_name" variable
I'm suspecting some interference with the normal use of Puppetfile
& metadata.json
.