rodjek / puppet-lint

Check that your Puppet manifests conform to the style guide
MIT License
819 stars 204 forks source link

heredoc prematurely terminated #940

Closed felixdoerre closed 3 years ago

felixdoerre commented 3 years ago

In:

class myclass {
  file{'/file':
    content => @(objects),
    "objects"
    |objects
  }
}

Command:

$ puppet-lint in.pp
ERROR: Syntax error (unterminated string) on line 4
Try running `puppet parser validate <file>`

However the puppet parser is fine with it:

$ puppet parser validate in.pp
$
felixdoerre commented 3 years ago

I notied that this is already resolved here ( f9f7937 #851), however the fix is not released. Sorry for the dupe.