Re: [Puppet Users] puppet parser validate fails

2013-12-11 Thread Andreas Dvorak
Hi Jeff, thank you for the information. I think the "grep -v '^\s*import'" is working. First test are successfully. Best regards Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

Re: [Puppet Users] puppet parser validate fails

2013-12-10 Thread Jeff Bachtel
When git feeds the file to puppet parser on your git repo server, it is doing so via a temporary file (evidenced by remote: Error: Could not parse for environment production: No file(s) found for import of 'fix.pp' at /tmp/tmp.hujjYZKPpC/manifests/nodes.pp:9 ). Because it is a temporary file it doe

[Puppet Users] puppet parser validate fails

2013-12-10 Thread Andreas Dvorak
Dear all, In git I have a pre-receive script to checkt the puppet files. My git push comes with an error but if I run the same manually I get no error. Can anybody please help me? error message remote: Checking manifests/nodes.pp for syntax errors and styleguide compliance... remote: 'puppet