Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Michael Smith (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Smith commented on  BOLT-1024  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
 Additionally, what gets printed when you serialize a Result doesn't really reflect what and how you access the content. Makes it less discoverable.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Change By: 
 Alex Dreyer  
 

  
 
 
 
 

 
 h4. ProblemFor reporting it's useful to pass the {{ResultSet}} from one task as an input to another. However since {{ResultSet}} is not {{Data}} this fails. h4. QuestionsShould we expose a ".to_data" method on the Bolt puppet types that users can call for this use case?Should we just handle more puppet types especially the bolt ones in {{run_task}}?h4. WorkaroundLoop over the ResultSet to grab data{noformat}$ data_result = $ result.map |$result| {   { target => $result.target.name, value => $result.value }   }{noformat}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 

Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Change By: 
 Alex Dreyer  
 

  
 
 
 
 

 
 For reporting it's useful to pass the {{ResultSet}} from one task as an input to another. However since {{ResultSet}} is not {{Data}} this fails. Should we expose a ".to_data" method on the Bolt puppet types that users can call for this use case?Should we just handle more puppet types especially the bolt ones in {{run_task}}?h4. WorkaroundLoop over the ResultSet to grab data{{ noformat}} $result.map |$result| { { target => $result.target.name, value => $result.value }} {{noformat}}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 

Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Change By: 
 Alex Dreyer  
 

  
 
 
 
 

 
 h4. ProblemFor reporting it's useful to pass the {{ResultSet}} from one task as an input to another. However since {{ResultSet}} is not {{Data}} this fails. h4. QuestionsShould we expose a ".to_data" method on the Bolt puppet types that users can call for this use case?Should we just handle more puppet types especially the bolt ones in {{run_task}}?h4. WorkaroundLoop over the ResultSet to grab data{ { noformat} } $result.map |$result| { { target => $result.target.name, value => $result.value } }{ { noformat} }  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 

Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Change By: 
 Alex Dreyer  
 

  
 
 
 
 

 
 h4. Problem For reporting it's useful to pass the {{ResultSet}} from one task as an input to another. However since {{ResultSet}} is not {{Data}} this fails.  h4. Questions Should we expose a ".to_data" method on the Bolt puppet types that users can call for this use case?Should we just handle more puppet types especially the bolt ones in {{run_task}}?h4. WorkaroundLoop over the ResultSet to grab data{{noformat}}$result.map |$result| { { target => $result.target.name, value => $result.value } }{{noformat}}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 

Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Change By: 
 Alex Dreyer  
 

  
 
 
 
 

 
 For reporting it's useful to pass the {{ResultSet}} from one task as an input to another. However since {{ResultSet}} is not {{Data}} this fails. Should we expose a ".to_data" method on the Bolt puppet types that users can call for this use case?Should we just handle more puppet types especially the bolt ones in {{run_task}}? h4. WorkaroundLoop over the ResultSet to grab data{{$result.map |$result| { { target => $result.target.name, value => $result.value }}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 

Jira (BOLT-1024) Cannot pass the result of running a task to another task.

2018-12-11 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1024  
 
 
  Cannot pass the result of running a task to another task.   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/12/11 10:32 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Alex Dreyer  
 

  
 
 
 
 

 
 For reporting it's useful to pass the ResultSet from one task as an input to another. However since ResultSet is not Data this fails.  Should we expose a ".to_data" method on the Bolt puppet types that users can call for this use case? Should we just handle more puppet types especially the bolt ones in run_task?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)