Jira (BOLT-1085) Optional data type, null and bash
Title: Message Title Melissa Amos updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Melissa Amos Labels: docs docs_reviewed 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-1085) Optional data type, null and bash
Title: Message Title Alex Dreyer commented on BOLT-1085 Re: Optional data type, null and bash Correct. 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-1085) Optional data type, null and bash
Title: Message Title Melissa Amos commented on BOLT-1085 Re: Optional data type, null and bash Given that this is a clarification and not a feature change, am I correct in assuming that the updates to writing_tasks.html should go in all versions of PE as well? 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-1085) Optional data type, null and bash
Title: Message Title Alex Dreyer updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Alex Dreyer Labels: docs 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-1085) Optional data type, null and bash
Title: Message Title Alex Dreyer updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Alex Dreyer Fix Version/s: BOLT Next 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-1085) Optional data type, null and bash
Title: Message Title Alex Dreyer updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Alex Dreyer Release Notes Summary: docs only change Release Notes: Not Needed 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-1085) Optional data type, null and bash
Title: Message Title Cas Donoghue assigned an issue to Cas Donoghue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Cas Donoghue Assignee: Cas Donoghue 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-1085) Optional data type, null and bash
Title: Message Title Cas Donoghue commented on BOLT-1085 Re: Optional data type, null and bash Solution: Document this expected behavior in https://puppet.com/docs/bolt/1.x/writing_plans.html#concept-2302 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-1085) Optional data type, null and bash
Title: Message Title Cas Donoghue updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Cas Donoghue Sprint: Bolt Ready for Grooming Kanban 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-1085) Optional data type, null and bash
Title: Message Title Alex Dreyer commented on BOLT-1085 Re: Optional data type, null and bash The issue seems to be that undef was explicitly passed to the run_task. I would expect that to get passed on as null to plan parameter. I don't know where to document this in a way that is going to be 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-1085) Optional data type, null and bash
Title: Message Title Brett Gray commented on BOLT-1085 Re: Optional data type, null and bash G'day Michael Smith, thanks for the reply and putting this ticket in the grooming pipeline. 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-1085) Optional data type, null and bash
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Michael Smith Sprint: Bolt Ready for Grooming 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-1085) Optional data type, null and bash
Title: Message Title Michael Smith commented on BOLT-1085 Re: Optional data type, null and bash It happens because we pass non-strings as their JSON representation. I agree we should probably leave Undef values undefined, so I think this is an improvement/bugfix we could make. 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-1085) Optional data type, null and bash
Title: Message Title Brett Gray updated an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Change By: Brett Gray If I have a plan as follows:{code}plan mongodb beergeek ::sub_test ( TargetSpec $nodes, String $a, String $b, Optional[String[1]] $c = undef,) { $return_hash = run_task('beergeek::test', $test_data['nodes'], a => $a, b => $b, c => $c)}{code}and this Bash Task: {code}#!/bin/sha=$PT_ab=$PT_bc=$PT_cmkdir -p /tmp/{${a},${b},${c}}echo `ls -l /tmp`{code}If I provide a JSON params file as follows:{code}{ "nodes": ["x.x.x.x."], "a": "a", "b": "b"}{code}My result will be:{code}[ec2-user@ip-x-x-x-x ~]$ ls /tmp/a b null{code}Bolt appears to parse the value {{null}} when no value is provided for any Optional data type when using Bash (I have not tested other languages). This requires the developer to include further validation of input. Can you please confirm if this is by design and if it is can you please provide documentation on this functionality? Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Jira (BOLT-1085) Optional data type, null and bash
Title: Message Title Brett Gray created an issue Puppet Task Runner / BOLT-1085 Optional data type, null and bash Issue Type: Improvement Assignee: Unassigned Created: 2019/01/10 3:10 PM Priority: Normal Reporter: Brett Gray If I have a plan as follows: plan mongodb::sub_test ( TargetSpec $nodes, String $a, String $b, Optional[String[1]] $c = undef, ) { $return_hash = run_task('beergeek::test', $test_data['nodes'], a => $a, b => $b, c => $c)