Skip to content
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

Wrong type for $python::dotfile::filename #447

Open
psychonaut opened this issue Nov 6, 2018 · 2 comments
Open

Wrong type for $python::dotfile::filename #447

psychonaut opened this issue Nov 6, 2018 · 2 comments

Comments

@psychonaut
Copy link

psychonaut commented Nov 6, 2018

a990c0b is wrong code, Stdlib::Filemode should be used as type for $mode variable, not for $filename. $filename is path, not permission.

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.5.3
  • Ruby: ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
  • Distribution: Centos7
  • Module version: master branch

How to reproduce (e.g Puppet code you use)

Use python::dotfile { '/any/valid/path': }

What are you seeing

Parser error.

What behaviour did you expect instead

Proper dot file

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Python::Dotfile[/etc/pip.conf]: parameter 'filename' expects a match for Stdlib::Filemode = Pattern[/^[0124]{1}[0-7]{3}$/], got '/any/valid/path'

Any additional information you'd like to impart

@danquack
Copy link
Contributor

danquack commented Nov 6, 2018

#446 should resolve this.

@bastelfreak
Copy link
Member

Hi @psychonaut, this should be fixed now. Please reopen if you still experience issues.

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

No branches or pull requests

3 participants