Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Claire Cadman updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Claire Cadman Labels: doc_reviewed platform_7.1 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.379059.1605916728000.97000.1607958300034%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Luchian Nemes assigned an issue to Luchian Nemes Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Luchian Nemes Assignee: Luchian Nemes 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.379059.1605916728000.94391.1607506980032%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Mihai Buzgau Story Points: 1 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.379059.1605916728000.94390.1607506620057%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Mihai Buzgau Sprint: ready for triage NW - 2020-12-23 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.379059.1605916728000.94389.1607506620038%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Josh Cooper updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Josh Cooper Labels: platform_7.1 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.379059.1605916728000.89715.1606932120084%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Gheorghe Popescu updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Gheorghe Popescu Sprint: ready for triage 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.379059.1605916728000.86459.1606289400062%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Josh Cooper updated an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Change By: Josh Cooper Team: Night's Watch 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.379059.1605916728000.85165.1606154040081%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Josh Cooper commented on PUP-10790 Re: user provider with uid/gid as Integer raises warning The warning comes from ruby 2.7 due to these lines in the user type: if group =~ /^\d+$/ Integer(group) else group end If group is already an Integer then the regex match is non-sensical. It would be better to check for the Integer case explicitly, like is done below those lines: if group.is_a?(Integer) group else Integer(group) end If group can't be converted into an array, then the catalog should fail.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Peter Meier commented on PUP-10790 Re: user provider with uid/gid as Integer raises warning Same thing happens on exec, when user is a uid: /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/exec.rb:599: warning: deprecated Object#=~ is called on Integer; it always returns nil 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.379059.1605916728000.84681.1605917100025%40Atlassian.JIRA.
Jira (PUP-10790) user provider with uid/gid as Integer raises warning
Title: Message Title Peter Meier created an issue Puppet / PUP-10790 user provider with uid/gid as Integer raises warning Issue Type: Bug Affects Versions: PUP 7.0.0 Assignee: Unassigned Components: Types and Providers Created: 2020/11/20 3:58 PM Priority: Normal Reporter: Peter Meier # cat foo.pp user { 'user1': ensure => 'present', gid=> 10008, groups => ['bla'],