You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running pdk validate -a it assumes that any puppet:///name URL is missing the 'modules/' and corrects it to puppet://modules/name. This is an erroneous assumption made without full information, since development may occur on a system where puppet master is not installed. Pdk cannot know that 'module/' is required in all cases.
To Reproduce
Have a puppet:///name URL in your code, and run puppet validate -a on it.
Expected behavior
The puppet:///name URL should remain unchanged.
The text was updated successfully, but these errors were encountered:
KedneckInc
changed the title
Puppet validate should not assume that all puppet: URL require 'modules/'.
Pdk validate should not assume that all puppet: URL require 'modules/'.
Nov 7, 2018
The check in question is implemented by puppet-lint (http://puppet-lint.com/checks/puppet_url_without_modules/). We are working on making in easier to customize the application of puppet-lint rules directly via the PDK, but for the time being, you can use a .puppet-lint.rc file to customize how rules are applied in your module:
Describe the bug
When running
pdk validate -a
it assumes that anypuppet:///name
URL is missing the 'modules/' and corrects it topuppet://modules/name
. This is an erroneous assumption made without full information, since development may occur on a system where puppet master is not installed. Pdk cannot know that 'module/' is required in all cases.To Reproduce
Have a
puppet:///name
URL in your code, and runpuppet validate -a
on it.Expected behavior
The
puppet:///name
URL should remain unchanged.Additional context
PDK Version: 1.7.0
OS: CentOS 7, and/or RedHat Enterprise 7.5
The text was updated successfully, but these errors were encountered: