Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on STDOUT

2016-08-04 Thread Jeremy Adams (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeremy Adams created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on STDOUT  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/08/04 11:04 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Jeremy Adams 
 
 
 
 
 
 
 
 
 
 
As a user wanting to parse JSON returned from puppet module tool, I need puppet module tool to return only JSON on stdout so I can pipe it to the next tool in my pipeline such as jq. 
Currently two lines are returned. The second line contains the JSON output, while, the first line is: Notice: Searching https://forgeapi.puppetlabs.com ... That line should not appear on the standard output. 
To make the JSON parseable, you need to strip off the first line, currently. Since a lot of JSON is returned to the screen, it wasn't clear at first what the problem was. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
   

Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on STDOUT

2016-08-05 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on STDOUT  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Scrum Team:
 
 Client Platform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2016-08-05 Thread Jeremy Adams (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeremy Adams updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jeremy Adams 
 
 
 

Summary:
 
 `puppet module search --render-as json` returns non-JSON first line on  STDOUT  stdout 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on STDOUT

2016-08-05 Thread Jeremy Adams (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jeremy Adams updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on STDOUT  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jeremy Adams 
 
 
 
 
 
 
 
 
 
 As a user wanting to parse JSON returned from puppet module tool,I need puppet module tool to return only JSON on  {{  stdout }}  so I can pipe it to thenext tool in my pipeline such as {{jq}}.Currently two lines are returned  on {{stdout}} . The second line contains the JSON output, while, the first line is:{{Notice: Searching https://forgeapi.puppetlabs.com ...}}That line should not appear on  the standard output  {{stdout}} .To make the JSON parseable, you need to strip off the first line, currently.Since a lot of JSON is returned to the screen, it wasn't clear at first what the problem was. A possible solution would be to return the {{Notice: Searching https://forgeapi.puppetlabs.com ...}} message on {{stderr}} instead of {{stdout}}. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2020-03-04 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-6587  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: `puppet module search --render-as json` returns non-JSON first line on stdout   
 

  
 
 
 
 

 
 Agree this is a problem, but unlikely to be fixed. Please reopen if need be.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.145353.1470377055000.5255.1583388840024%40Atlassian.JIRA.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-05-16 Thread Joe Pinsonault (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Joe Pinsonault updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Joe Pinsonault 
 
 
 

Labels:
 
 triaged 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-05-16 Thread Joe Pinsonault (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Joe Pinsonault updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Joe Pinsonault 
 
 
 

Team:
 
 Agent 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-05-16 Thread Doug Rosser (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Doug Rosser commented on  PUP-6587 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 
 
See PUP-7408 for another example of logging corrupting json output (look for "puppet master --compile ") 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-05-16 Thread Geoff Nichols (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Geoff Nichols updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Geoff Nichols 
 
 
 

Component/s:
 
 PMT 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-11-27 Thread Lindsey Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Lindsey Smith updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Lindsey Smith 
 
 
 

Team:
 
 Platform Core Puppet Developer Experience 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-6587) `puppet module search --render-as json` returns non-JSON first line on stdout

2017-11-27 Thread Lindsey Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Lindsey Smith updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6587 
 
 
 
  `puppet module search --render-as json` returns non-JSON first line on stdout  
 
 
 
 
 
 
 
 
 

Change By:
 
 Lindsey Smith 
 
 
 

Priority:
 
 Normal Major 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.