Jira (BOLT-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Kate Lopresti updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Kate Lopresti Labels: docs-reviewed resolved-issue-added 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith assigned an issue to Unassigned Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Assignee: Michael Smith 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith assigned an issue to Michael Smith Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Assignee: Michael Smith 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Henrik Lindberg commented on BOLT-900 Re: Deprecated functions in stdlib result in Evaluation Error I suppose that makes sense as you need to be using code that already exists. I turned on the more strict modes by default because I figured people would be writing new code. It is fine to make them configurable since there is a clear purpose for this. 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Unable to use modules that aim to be compatible with Puppet 3/4. Using {{validate_array}} from {{puppetlabs-stdlib}}{code}plan foo::deprecated(TargetSpec $nodes, Array[String] $messages) { $nodes.apply_prep return apply($nodes) { validate_array($messages) $messages.each |$message| { notify { $message: } } }}{code}Trying to run this results in {code}Evaluation Error: Error while evaluating a Function Call, deprecation. validate_array…{code}This is because the PAL CatalogCompiler sets {{strict=error}} in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/catalog_compiler.rb#L15-L16.The CatalogCompiler also overrides {{strict_variables}}. We should make both {{strict}} and {{strict_variables}} configurable within Bolt. We should also update Puppet to not set these options in CatalogCompiler. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Jira (BOLT-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Unable to use modules that aim to be compatible with Puppet 3/4. Using {{validate_array}} from {{puppetlabs-stdlib}}{code}plan foo::deprecated(TargetSpec $nodes, Array[String] $messages) { $nodes.apply_prep return apply($nodes) { validate_array($messages) $messages.each |$message| { notify { $message: } } }}{code}Trying to run this results in {code}Evaluation Error: Error while evaluating a Function Call, deprecation. validate_array…{code}This is because the PAL CatalogCompiler sets {{ strict=error }} in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/catalog_compiler.rb#L15-L16. The CatalogCompiler also overrides {{strict_variables}}. We should make both {{strict}} and {{strict_variables}} configurable within Bolt. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this
Jira (BOLT-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Sprint: Bolt Kanban 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Sprint: Bolt 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-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith updated an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Change By: Michael Smith Unable to use modules that aim to be compatible with Puppet 3/4. Using {{validate_array}} from {{puppetlabs-stdlib}} {code}plan foo::deprecated(TargetSpec $nodes, Array[String] $messages) { $nodes.apply_prep return apply($nodes) { validate_array($messages) $messages.each |$message| { notify { $message: } } }}{code}Trying to run this results in {code}Evaluation Error: Error while evaluating a Function Call, deprecation. validate_array…{code}This is because the PAL CatalogCompiler sets strict=error in https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/catalog_compiler.rb#L15-L16. 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
Jira (BOLT-900) Deprecated functions in stdlib result in Evaluation Error
Title: Message Title Michael Smith created an issue Puppet Task Runner / BOLT-900 Deprecated functions in stdlib result in Evaluation Error Issue Type: Bug Assignee: Unassigned Created: 2018/10/03 3:40 PM Priority: Normal Reporter: Michael Smith Unable to use modules that aim to be compatible with Puppet 3/4. plan foo::deprecated(TargetSpec $nodes, Array[String] $messages) { $nodes.apply_prep return apply($nodes) { validate_array($messages) $messages.each |$message| { notify { $message: } }