Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper commented on PUP-1357 Re: Class names that match the node name are not evaluated Puppet currently stores node and class scopes in a hash in top scope. It's currently possible for node and class scopes to collide, where the latter can overwrite the latter, but relying on that behavior to solve this problem seems like a bad idea. I'm going to close this in favor of PUP-3995 which will add an error if a class is, ignored because of a conflict with a node definition. Note using a regex or the default bareword doesn't have this problem. Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- 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.22927.138877787.52739.1623269880117%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper commented on PUP-1357 Re: Class names that match the node name are not evaluated I removed the fix versions, and we can fix in the next set of .z releases. It's been broken for a long time, and as Henrik mentioned most people use an ENC. 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.22927.138877787.132123.1612375380191%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper Fix Version/s: PUP 6.21.0 Fix Version/s: PUP 7.4.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.22927.138877787.132117.1612375320284%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Ciprian Badescu commented on PUP-1357 Re: Class names that match the node name are not evaluated Josh Cooper, will this get into ** PUP 7.4.0, PUP 6.21.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.22927.138877787.131985.1612371960177%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper Fix Version/s: PUP 6.21.0 Fix Version/s: PUP 7.4.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.22927.138877787.127994.1611874500187%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper Sprint: Platform Core KANBAN 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.22927.138877787.127449.1611855060171%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper Assignee: Henrik Lindberg Josh Cooper 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.22927.138877787.125649.1611711960108%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper Team: Froyo Coremunity 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.22927.138877787.125648.1611711960054%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper commented on PUP-1357 Re: Class names that match the node name are not evaluated I verified this issue still exists in 6.19.1, but does not occur when using an ENC. As Nick Lewis said, the node scope is set in https://github.com/puppetlabs/puppet/blob/5d6412cf5de9ed93d80439c539c1416ecf3216b2/lib/puppet/resource/type.rb#L237. And then later we see if a class scope with that name has already been added https://github.com/puppetlabs/puppet/blob/5d6412cf5de9ed93d80439c539c1416ecf3216b2/lib/puppet/parser/scope.rb#L420. And since there's already a node scope with that name, we skip including the class in https://github.com/puppetlabs/puppet/blob/5d6412cf5de9ed93d80439c539c1416ecf3216b2/lib/puppet/parser/compiler.rb#L308-L313 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.22927.138877787.125635.1611710520035%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Josh Cooper updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Josh Cooper If I setup: {code:puppet} class subversion { warning("I am class subversion")} {code} and in my nodes.pp I have {code} node subversion { include subversion } {code} When i run puppet in verbose mode on subversion, I never see that warning. 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.22927.138877787.125534.1611704220083%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Rob Braden updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Rob Braden Sub-team: Language 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.22927.138877787.131819.1570468141314%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Rob Braden updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Rob Braden Team: Server 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.22927.138877787.131807.1570468141230%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Henrik Lindberg commented on PUP-1357 Re: Class names that match the node name are not evaluated It is certainly not by design - that would be really stupid. The reason this problem is not getting attention is probably because most use an external node classifier or hiera rather than the node _expression_. 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.22927.138877787.131135.1570445040299%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Tomáš Virtus commented on PUP-1357 Re: Class names that match the node name are not evaluated Hello. I've just encountered the same problem with following open source components: puppet-agent 6.10.0-1buster puppetserver 6.7.0-1buster Does it work as designed? It took me some time to figure out that it could be related to node having same certificate name as class name. It'd be great to at least document the current behavior. I'm using Puppet to manage nodes on LAN without any domain and I have a module dedicated to certain node. I assumed that node and class names are different namespaces and therefore it wouldn't be a problem. 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.22927.138877787.130991.1570414800351%40Atlassian.JIRA.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Moses Mendoza Labels: redmine triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Nicholas Fagerlund updated an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Nicholas Fagerlund Labels: redmine triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Henrik Lindberg commented on PUP-1357 Re: Class names that match the node name are not evaluated Probably. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Moses Mendoza commented on PUP-1357 Re: Class names that match the node name are not evaluated Henrik Lindberg do you know if this is still a problem in pup latest? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Moses Mendoza assigned an issue to Henrik Lindberg Puppet / PUP-1357 Class names that match the node name are not evaluated Change By: Moses Mendoza Assignee: Henrik Lindberg Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Nick Lewis commented on an issue Re: Class names that match the node name are not evaluated The issue here appears to be that node scopes are stored in the same place as class scopes, and they're stored by name. The existence of a class scope for a given class is used to determine whether or not a class has been evaluated. So the class is looked up, and then its scope is checked; since it exists, the class is assumed to already have been evaluated and we carry on. Oops. Add Comment Puppet / PUP-1357 Class names that match the node name are not evaluated If I setup: class subversion { warning("I am class subversion") } and in my nodes.pp I have node subversion { include subversion } When i run puppet in verbose mode on subversion, I never see that warning. This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title Nick Lewis commented on an issue Re: Class names that match the node name are not evaluated Appears to still be a problem as of 3.4. Add Comment Puppet / PUP-1357 Class names that match the node name are not evaluated If I setup: class subversion { warning("I am class subversion") } and in my nodes.pp I have node subversion { include subversion } When i run puppet in verbose mode on subversion, I never see that warning. This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
Jira (PUP-1357) Class names that match the node name are not evaluated
Title: Message Title redmine.exporter created an issue Puppet / PUP-1357 Class names that match the node name are not evaluated Issue Type: Bug Assignee: Unassigned Created: 03/Jan/14 11:37 AM Labels: redmine Priority: Normal Reporter: redmine.exporter If I setup: class subversion { warning("I am class subversion") } and in my nodes.pp I have node subversion { include subversion } When i run puppet in verbose mode on subversion, I never see that warning. Add Comment