Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Claire Cadman updated an issue Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Change By: Claire Cadman Labels: doc_reviewed platform_7 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.374478.1602246841000.74519.1604933640039%40Atlassian.JIRA.
Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Change By: Mihai Buzgau Sprint: NW - 2020-10-28 , NW - 2020-11-11 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.374478.1602246841000.65910.1603876200112%40Atlassian.JIRA.
Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Gabriel Nagy assigned an issue to Gabriel Nagy Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Change By: Gabriel Nagy Assignee: Gabriel Nagy 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.374478.1602246841000.61202.1603377180287%40Atlassian.JIRA.
Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Change By: Mihai Buzgau Story Points: 3 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.374478.1602246841000.55335.1602663900041%40Atlassian.JIRA.
Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Mihai Buzgau updated an issue Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Change By: Mihai Buzgau Sprint: PR NW - Triage 2020-10-28 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.374478.1602246841000.55336.1602663900096%40Atlassian.JIRA.
Jira (PUP-10711) Create numeric and port setting types and update existing port settings
Title: Message Title Gabriel Nagy created an issue Puppet / PUP-10711 Create numeric and port setting types and update existing port settings Issue Type: Improvement Assignee: Unassigned Created: 2020/10/09 5:34 AM Labels: platform_7 Priority: Normal Reporter: Gabriel Nagy This came up when we wanted to have an interpolated integer as a default value for a setting. Currently it is not possible to do this, as the interpolation has to be wrapped in quotes, so the setting becomes a string instead. Puppet has various setting types (array, boolean, enum, ttl, priority, etc.) which can have their own munge logic. We should create a numeric (or integer) setting type which converts passed values to valid numbers (even if they are passed as strings/symbols). On top of this, we should have a port setting type which inherits from the numeric setting type. In short, it should call munge on its superclass and then check if the resulting number is valid (between 0 and 65535). All port-related settings should be updated afterwards to use the new type (masterport, serverport, ca_port and report_port). POC for this functionality (without the numeric setting type): https://github.com/puppetlabs/puppet/pull/8373 This is considered breaking in a way, as there isn't a consensus on whether the port-related settings should be strings or integers (currently both are accepted).