[Puppet-dev] Re: detecting manifest parser version

2015-04-23 Thread Henrik Lindberg
On 2015-23-04 21:36, Corey Osman wrote: Yea, since I don't actually run evaluation at this point I only need a manifest to parse. I am using this in my project: http://github.com/logicminds/puppet-retrospec if you are curious. I am thinking I may need to hot swap parser versions during manifes

[Puppet-dev] Re: detecting manifest parser version

2015-04-23 Thread Corey Osman
Yea, since I don't actually run evaluation at this point I only need a manifest to parse. I am using this in my project: http://github.com/logicminds/puppet-retrospec if you are curious. I am thinking I may need to hot swap parser versions during manifest inspection in order to produce the

[Puppet-dev] Re: detecting manifest parser version

2015-04-23 Thread Henrik Lindberg
On 2015-21-04 20:59, Corey Osman wrote: Is there a better way to detect which parser a manifest is using than what I have come up with below? https://gist.github.com/logicminds/d3f795f4fa28ed8d0be6 Your code basically runs puppet parser validate with or without --parser future afaict Resu