Jira (PUP-7140) Type property name can not contain an uppercase letter
Title: Message Title Josh Cooper commented on PUP-7140 Re: Type property name can not contain an uppercase letter For some reason the type is registered as a lowercase symbol, so we can't find it later. For example, if I change message for the notify type to mesSage, then I see: (byebug) validproperty?(:message) Puppet::Type::Notify::Message (byebug) validproperty?(:mesSage) false It seems wrong for puppet to downcase the property name when registering valid properties/params. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Jira (PUP-7140) Type property name can not contain an uppercase letter
Title: Message Title John Duarte updated an issue Puppet / PUP-7140 Type property name can not contain an uppercase letter Change By: John Duarte Team: Agent & Platform 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-7140) Type property name can not contain an uppercase letter
Title: Message Title John Duarte updated an issue Puppet / PUP-7140 Type property name can not contain an uppercase letter Change By: John Duarte Labels: maintenance 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-7140) Type property name can not contain an uppercase letter
Title: Message Title Brice Figureau commented on PUP-7140 Re: Type property name can not contain an uppercase letter More generally the following example exhibit the issue: in lib/puppet/type/test.rb Puppet::Type.newtype(:test) do newparam(:name) { isnamevar } newproperty(:camelCase) end and the following manifest: test { "test": camelCase => 'pouet' } Gives:
Jira (PUP-7140) Type property name can not contain an uppercase letter
Title: Message Title Brice Figureau created an issue Puppet / PUP-7140 Type property name can not contain an uppercase letter Issue Type: Bug Affects Versions: PUP 4.8.2 Assignee: Unassigned Components: Types and Providers Created: 2017/01/27 6:16 AM Environment: Any, but tested on Linux Ubuntu 16.04 and Debian 8. Priority: Normal Reporter: Brice Figureau It is impossible to use a type for which one property is written in CamelCase or camelBack, like the ones generated in Gareth Rusgrove Puppet Kubernetes module. If you do so, and try to declare a resource Puppet fails with the following backtrace: