Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Claire Cadman updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Claire Cadman Labels: doc_reviewed 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.320115.1565272699000.47569.1587990960032%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Gabriel Nagy updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Gabriel Nagy Fix Version/s: PUP 6.15.0 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.320115.1565272699000.45257.1587644460045%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: NW - 2020-02-05, NW - 2020-02-19, NW - 2020-03-04, NW - 2020-03-17 , NW - 2020-04-01 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.320115.1565272699000.15018.1584521640279%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: NW - 2020-02-05, NW - 2020-02-19, NW - 2020-03-04 , NW - 2020-03-17 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.320115.1565272699000.5428.1583398440431%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: NW - 2020-02-05, NW - 2020-02-19 , NW - 2020-03-04 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.31047.1582111092227%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: NW - 2020-02-05 , NW - 2020-02-19 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.14358.1580899085147%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Dorin Pleava assigned an issue to Dorin Pleava Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Dorin Pleava Assignee: Dorin Pleava 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.2602.1580215140236%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: PR NW - Triage 2020-02-05 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.31794.1579691520445%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Story Points: 1 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.31791.1579691520378%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Team: Coremunity Night's Watch 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.53291.1575461100613%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Mihai Buzgau Sprint: Community PRs PR - Triage 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.53294.1575461100629%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Josh Cooper Sprint: Coremunity Grooming Community PRs 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.12124.1572416760161%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Josh Cooper updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Josh Cooper Sprint: Coremunity 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.12110.1572416340139%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Jorie Tappa updated an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Change By: Jorie Tappa Team: Coremunity 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.51752.1565629020790%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Sean Millichamp commented on PUP-9943 Re: User type has custom retrieve() with non-standard return values I have put up a proposed PR to address this issue: https://github.com/puppetlabs/puppet/pull/7664 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.48529.1565292180100%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Sean Millichamp commented on PUP-9943 Re: User type has custom retrieve() with non-standard return values As an additional note: It appears that the Puppet::Type.retrieve_resource() method was perhaps designed as a work-around to this particular problem. However, it is marked as a private API. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type.rb#L1122-L1136 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320115.1565272699000.48039.1565277060102%40Atlassian.JIRA.
Jira (PUP-9943) User type has custom retrieve() with non-standard return values
Title: Message Title Sean Millichamp created an issue Puppet / PUP-9943 User type has custom retrieve() with non-standard return values Issue Type: Bug Affects Versions: PUP 6.7.2, PUP 5.5.16 Assignee: Unassigned Components: Types and Providers Created: 2019/08/08 6:58 AM Priority: Normal Reporter: Sean Millichamp The core user type has a custom retrieve() method which returns a Hash that is inconsistent with the data type returned by the common method in Puppet::Type.retrieve(). As a result, mechanisms expecting to use retrieve() will have problems with user resources. Here is the offending code in the user type: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/user.rb#L496-L513 I think it may be safe and desirable to just remove the user type's retrieve block and let the standard one take effect. The existing retrieve method seems to be 10+ years old and may just be an artifact of a much earlier time in Puppet's life. Regardless if the method is needed or not, it should have a return value consistent with the expected return value from the standard Puppet::Type.retrieve() method.