On Dec 10, 7:15 am, "a.gorodin...@mail.ru" <a.gorodin...@mail.ru> wrote: > Hello! > > I'm trying to use pre-commit SVN hook for checking puppet syntax. For > it I try to use some scripts from this > thread:http://groups.google.com/group/puppet-users/browse_thread/thread/50ff... > > But when I try some of the scripts I see the common problem, > expression like this: > # puppet --parseonly --ignoreimport file.pp > produces no output, but "file.pp" has a known broken syntax. What I > need to change in this statement to see information about syntax > errors at STDOUT?
I think this is an open issue[1] wth 2.6.x that's borked my precommits also. Looks like it's fixed in the testing branch. [1] http://projects.puppetlabs.com/issues/5081 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.