Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Eric Thompson QA Contact: Kurt Wall Eric Thompson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Sorenson assigned an issue to Unassigned Puppet / PUP-2531 Provide validation tool for EPP Change By: Eric Sorenson Assignee: Eric Sorenson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Sorenson assigned an issue to Eric Sorenson Puppet / PUP-2531 Provide validation tool for EPP Change By: Eric Sorenson Assignee: Eric Sorenson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg commented on PUP-2531 Re: Provide validation tool for EPP The man page is generated with a combination of general stuff (like the --render-as, --debug, and --verbose flags). The details are described per subcommand, and as the general text says "it may or may not be relevant to the present action", I would prefer if there was no --render-as available for the epp actions. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson commented on PUP-2531 Re: Provide validation tool for EPP [root@xvr80ahe9y39cdz puppet]# puppet help epp USAGE: puppet epp Interact directly with the EPP template parser/renderer. OPTIONS: --render-as FORMAT - The rendering format to use. --verbose - Whether to log verbosely. --debug- Whether to log debug information.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson commented on PUP-2531 Re: Provide validation tool for EPP verified on rhel7 at SHA: with: [root@xvr80ahe9y39cdz ~]# puppet epp validate droid.epp [root@xvr80ahe9y39cdz ~]# puppet epp render droid.epp This is the you are looking for! [root@xvr80ahe9y39cdz ~]# puppet epp render --values '{x => "erict" }' droid.epp This is the erict you are looking for! [root@xvr80ahe9y39cdz ~]# puppet epp render --values '{x => erict }' droid.epp This is the erict you are looking for! [root@xvr80ahe9y39cdz ~]# puppet epp render --values '{x => eric t }' droid.epp Error: Syntax error at 't' at values-hash:1:12 Error: error while rendering epp
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg commented on PUP-2531 Re: Provide validation tool for EPP That should result in an error "no such template 'template1.pp.epp' and an exit with 1. Please log a ticket for this. Your example work if you change '.pp' to '.epp'. The --render-as console part has no effect (except that it seems to take longer because it is loading code). I think the documentation for the epp render says something about --render-as not being applicable (the purpose of epp render is to get text, it is not meaningful to render it as say json). Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson commented on PUP-2531 Re: Provide validation tool for EPP just digging into this one... Henrik Lindberg shouldn't this render-me something? [root@qyitplx0e5fooqw ~]# cat template1.pp This is the <%= $x %> you are looking for! [root@qyitplx0e5fooqw ~]# puppet epp render --values '{x => foo}' --render-as console template1.pp Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Eric Thompson assigned an issue to Eric Thompson Puppet / PUP-2531 Provide validation tool for EPP Change By: Eric Thompson Assignee: Eric Thompson Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Steve Barlow updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Steve Barlow Sprint: Platform Server 2014-12-17, Language 2015-01-21 , Language 2015-02-04 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Nick Lewis commented on PUP-2531 Re: Provide validation tool for EPP Merged to master in 5224ead. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg commented on PUP-2531 Re: Provide validation tool for EPP ping Nick Lewis - any feedback on this? Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Steve Barlow updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Steve Barlow Sprint: Platform Server 2014-12-17 , Language 2015-01-21 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Kylo Ginsberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Nick Lewis assigned an issue to Nick Lewis Puppet / PUP-2531 Provide validation tool for EPP Change By: Nick Lewis Assignee: Nick Lewis Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Henrik Lindberg Sprint: Platform Client 2014-12-24 Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Henrik Lindberg Sprint: Platform Client Server 2014-12-24 Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Andy Parker updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Andy Parker Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-2531 Provide validation tool for EPP Change By: Henrik Lindberg Fix Version/s: 4.0.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg commented on an issue Re: Provide validation tool for EPP On second thought, validate does not need values, it does not check if variables exist - it simply parses in EPP mode and performs validation of the logic. It would be great to add validate in Puppet 4.0, and render during 4.x Add Comment Puppet / PUP-2531 Provide validation tool for EPP For {{.pp}} files users have {{puppet parser validate}} to check if the syntax is right. However, for EPP there is no equivalent command. There needs to be one. If it is possible to accurately detect the file type maybe {{puppet parser validate}} could do the determination automagically. If there isn't, then we could maybe add a flag to the command to ... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more option
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Henrik Lindberg commented on an issue Re: Provide validation tool for EPP Testing templates in a vacuum requires being able to pass a hash map of name to values. It would also be very beneficial to be able to render the result of the template interactively. These two features suggest that there should be a separate command for epp - e.g. epp validate mytemplate.epp --values '{a => foo, b=> 10}' epp render mytemplate.epp --values '{a => foo, b=> 10}' These are evaluated in an environment. Since they may reference global variables, the initial import must also take place just as it does for puppet parser validate, but it cannot run an actual compilation (while that reports issues, it would then be meaningless to have a separate validate, since the templates are validated when parsed and evaluated anyway). Thus, for well written templates, that only access local variables (and globals) these to features of an epp face / command are of great value. Add Comment Puppet / PUP-2531 Provide validation tool for EPP For {{.pp}} files users have {{puppet parser validate}} to check if the syntax is right. However, for EPP there is no equivalent command. There needs to be one. If it is possible to accurately detect the file type maybe {{puppet parser validate}} could do the determination automagically. If there isn't, then we could maybe add a flag to the command to ...
Jira (PUP-2531) Provide validation tool for EPP
Title: Message Title Andy Parker created an issue Puppet / PUP-2531 Provide validation tool for EPP Issue Type: New Feature Assignee: Andy Parker Components: DSL Created: 12/May/14 8:46 AM Priority: Normal Reporter: Andy Parker For .pp files users have puppet parser validate to check if the syntax is right. However, for EPP there is no equivalent command. There needs to be one. If it is possible to accurately detect the file type maybe puppet parser validate could do the determination automagically. If there isn't, then we could maybe add a flag to the command to indicate that it is an epp file. Add Comment