Hi Albert, some lint checks are not available in lint core, but are within a lint plugin. In your case check: https://github.com/voxpupuli/puppet-lint-trailing_comma-check.git
Complete list can be found on voxpupuli: https://voxpupuli.org/plugins/#puppet-lint Best, Martin > On 20. Feb 2018, at 13:53, Albert Shih <albert.s...@obspm.fr> wrote: > > Hi everyone, > > I'm wonder why puppet-lint don't show any syntax error. > > For example I just delete a "," at the end of a line and > > [root@io manifests]$ puppet-lint init.pp > [root@io manifests]$ puppet parser validate init.pp Error: Could not parse > for environment production: Syntax error at 'Boolean' (file: > /home/jas/Travaux/puppet/modules/apache/manifests/init.pp, line: 19, column: > 3) > [root@io manifests]$ > > puppet-lint seem to be a very powerfull tool. I don't understand why he > cannot complain when something very simple like a missing comma cannot be > detected. > > Regards. > -- > Albert SHIH > Heure local/Local time: > Tue Feb 20 13:49:31 CET 2018 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/20180220125301.GJ5491%40io.chezmoi.fr. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3AFFFB60-C79E-4F02-9501-20EFD62CAE20%40gmail.com. For more options, visit https://groups.google.com/d/optout.