Jira (PDOC-276) Puppet strings fails with complex default values.

1 view
Skip to first unread message

Robert August Vincent II (JIRA)

unread,
May 1, 2019, 4:22:02 PM5/1/19
to puppe...@googlegroups.com
Robert August Vincent II created an issue
 
Puppet Strings / Bug PDOC-276
Puppet strings fails with complex default values.
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/05/01 1:21 PM
Priority: Normal Normal
Reporter: Robert August Vincent II
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Robert August Vincent II (JIRA)

unread,
May 1, 2019, 4:37:01 PM5/1/19
to puppe...@googlegroups.com
Robert August Vincent II updated an issue
Change By: Robert August Vincent II
Puppet strings fails to capture complex default values:

* {{$foo = $bar ? \{'one' => 'special', default => 'normal'\}}}
   gets captured as:
   {{Default value: $bar}}
* {{$foo = $bar.regsubst(/\A([a-z]+) ([0-9]+)\z/, '\\1')}}
  gets captured as
  {{Default value: $bar}}
* {{$foo = regsubst($bar, /\A([a-z]+) ([0-9]+)\z/, '\\2')}}
  gets captured as
  {{Default value: regsubst($bar, /\A([a-z]+) \z/, '\\2')}}

Robert August Vincent II (JIRA)

unread,
Dec 30, 2019, 11:09:03 AM12/30/19
to puppe...@googlegroups.com
Robert August Vincent II commented on Bug PDOC-276
 
Re: Puppet strings fails with complex default values.

I see that this issue has been tagged as "Needs Information" by "GreenHopper".

If someone would tell me what information is needed, I shall endeavor to supply it.

Reply all
Reply to author
Forward
0 new messages