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

Puppet-lint 2.4.0 - ERROR: Syntax error on line x #887

Closed
dervolker opened this issue Oct 8, 2019 · 0 comments · Fixed by #888
Closed

Puppet-lint 2.4.0 - ERROR: Syntax error on line x #887

dervolker opened this issue Oct 8, 2019 · 0 comments · Fixed by #888
Labels
Milestone

Comments

@dervolker
Copy link

dervolker commented Oct 8, 2019

Hello,

Since yesterday we suddenly get an ERROR: Syntax error on line error. Before, no error was shown.

It seems to appear in file definitions where an inline_epp is used like in the following snippet.

  -> file { '/etc/security/limits.d/artifactory.conf':
    content => inline_epp(@(EOT)
artifactory soft nofile <%= $roles_repo_servers::max_files %>
artifactory hard nofile <%= $roles_repo_servers::max_files %>
artifactory soft nproc <%= $roles_repo_servers::max_procs %>
artifactory hard nproc <%= $roles_repo_servers::max_procs %>
@EOT
    )
}
@rodjek rodjek added the bug label Oct 9, 2019
@rodjek rodjek added this to the 2.4.1 milestone Oct 9, 2019
rodjek added a commit that referenced this issue Oct 9, 2019
rodjek added a commit that referenced this issue Oct 9, 2019
Fix non-indented heredoc parsing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants