Re: [Puppet Users] pp grammar test-files?

2010-12-11 Thread Henrik Lindberg
Thanks everyone for all the tips on where I can get pp files for testing. Very helpful. Some answers to questions below: On Dec 10, 2010, at 11:32 PM, Daniel Pittman wrote: I wonder if there is a set of pp files available for testing the parser. Puppet labs don't have a hidden repository

Re: [Puppet Users] pp grammar test-files?

2010-12-11 Thread Henrik Lindberg
- henrik 11 dec 2010 kl. 19:28 skrev Nigel Kersten ni...@puppetlabs.com: On Sat, Dec 11, 2010 at 10:17 AM, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: I have created an EMF ecore model for puppet manifests. The technology I use (Xtext) helps with generating a .pp parser

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Dan Bode
--parseonly option will catch parsing mistakes. On Fri, Dec 10, 2010 at 8:00 AM, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: Hi, I am working on some tools that read and write pp files, and I wonder if there are some pp files available somewhere that can be used to test a

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Henrik Lindberg
Hi, I understand that - I wonder if there is a set of pp files available for testing the parser. - henrik On Dec 10, 2010, at 5:04 PM, Dan Bode wrote: --parseonly option will catch parsing mistakes. On Fri, Dec 10, 2010 at 8:00 AM, Henrik Lindberg henrik.lindberg.priv...@gmail.com

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Felix Frank
On 12/10/2010 05:42 PM, Henrik Lindberg wrote: Hi, I understand that - I wonder if there is a set of pp files available for testing the parser. http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Patterns -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Henrik Lindberg
Thanks, that is a good starting point. Are the underlying pp files available in git by any chance? - henrik On Dec 10, 2010, at 5:47 PM, Felix Frank wrote: On 12/10/2010 05:42 PM, Henrik Lindberg wrote: Hi, I understand that - I wonder if there is a set of pp files available for

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Felix Frank
On 12/10/2010 05:58 PM, Henrik Lindberg wrote: Thanks, that is a good starting point. Are the underlying pp files available in git by any chance? If not, wget and a little awk should go a long way... -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Daniel Pittman
On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: I understand that - I wonder if there is a set of pp files available for testing the parser. Puppet labs don't have a hidden repository of them to use as part of testing or anything like that. What I would

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread James Turnbull
Daniel Pittman wrote: On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: I understand that - I wonder if there is a set of pp files available for testing the parser. Puppet labs don't have a hidden repository of them to use as part of testing or

Re: [Puppet Users] pp grammar test-files?

2010-12-10 Thread Nathan Rich
Don't forget about example42.com On Fri, Dec 10, 2010 at 3:26 PM, James Turnbull ja...@puppetlabs.comwrote: Daniel Pittman wrote: On Sat, Dec 11, 2010 at 03:42, Henrik Lindberg henrik.lindberg.priv...@gmail.com wrote: I understand that - I wonder if there is a set of pp files available