Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Parker Leach updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Parker Leach Labels: docs_reviewed jira_escalated Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.64842.1670447880270%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Morgan Rhodes Sprint: Phoenix 2022-11-09 , Phoenix 2022-11-23 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.57124.1668017160358%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Michael Hashizume assigned an issue to Michael Hashizume Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Michael Hashizume Assignee: Michael Hashizume Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.53446.1666897920205%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Morgan Rhodes Story Points: 2 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.50229.1666288020134%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Morgan Rhodes Labels: jira_escalated needs-validation Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.49497.1666216080289%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Morgan Rhodes updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Morgan Rhodes Sprint: Phoenix 2022-11-09 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.49491.1666216020146%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Josh Cooper Epic Link: PUP-11619 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.41383.1664916480167%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Josh Cooper updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Josh Cooper Affects Version/s: PUP 7.19.0 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.41372.1664916300055%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Josh Cooper commented on PUP-11631 Re: Purging SSH keys on a user resource fails when alias is used We should add a method to Puppet::Type which allows metaparameters to copied to another resource, so that individual modules don't need to do https://github.com/puppetlabs/puppet/blob/c47e2cd7fd979fffa98a067b0f024f4e8abcc975/lib/puppet/type/user.rb#L814-L817 https://github.com/puppetlabs/puppet/blob/948a4bec67def5244595a6f69976a9a2479f1df1/lib/puppet/type/resources.rb#L123-L125 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.41371.1664916240032%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Josh Cooper commented on PUP-11631 Re: Purging SSH keys on a user resource fails when alias is used Puppet should copy all metaparameters from the parent resource to its generated children, except for any that are compiler specific. PUP-10688 is a related, but opposite problem where the tag metaparameter is not copied to child resources. Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.41366.1664916120043%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Michael Hashizume updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Michael Hashizume Labels: jira_escalated needs-validation Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.37194.1664310060040%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Jarret Lavallee updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Jarret Lavallee Team: Phoenix Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.36186.1663952940433%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Jarret Lavallee updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Jarret Lavallee Zendesk Ticket Count: 1 Zendesk Ticket IDs: 49722 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.36187.1663952940481%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Alvin Rodis updated an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Change By: Alvin Rodis Labels: jira_escalated Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- 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.469398.1663952875000.36185.1663952940384%40Atlassian.JIRA.
Jira (PUP-11631) Purging SSH keys on a user resource fails when alias is used
Title: Message Title Jarret Lavallee created an issue Puppet / PUP-11631 Purging SSH keys on a user resource fails when alias is used Issue Type: Improvement Affects Versions: PUP 6.28.0 Assignee: Unassigned Components: Types and Providers Created: 2022/09/23 10:07 AM Priority: Normal Reporter: Jarret Lavallee When using the purge_ssh_keys parameter on a user resource with an alias metaparameter, the catalog application will fail when purging unmanaged ssh keys. The following error is shown. Error: /Stage[main]/Main/Node[default]/User[username]: Failed to generate additional resources using 'generate': Parameter alias failed on Ssh_authorized_key[u...@example.com]: Munging failed for value ["useralias"] in class alias: Cannot add aliases without a catalog The metaparameters are passed into the resource used to purge ssh_authorized_keys when using the user resource. Since this happens in the type, and not during catalog compilation, the agent cannot alias the resources to be purged and fails catalog application. This is likely due to this https://github.com/puppetlabs/puppet/blob/6.28.0/lib/puppet/type/user.rb#L815