20/02/2018 à 14:01:23+0100, Maria Elena a écrit > Hi Albert, > maybe cause puppet-lint checks only style (http://puppet-lint.com/). > Regards.
You're perfectly right. But in fact I'm not very good in english, so I will rephrase... Can puppet-lint check also the syntax ? So we don't need to launch two thing puppet parser validate and puppet-lint that would be much easier. Regards. JAS > 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. > -- Albert SHIH xmpp: [email protected] Heure local/Local time: Tue Feb 20 22:49:11 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20180220215107.GC1284%40io.chezmoi.fr. For more options, visit https://groups.google.com/d/optout.
