Jira (PUP-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Henrik Lindberg Fix Version/s: None 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Henrik Lindberg Fix Version/s: None 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Henrik Lindberg commented on PUP-3744 Re: Function to dig out allowed values for an attribute of a type This ticket says it was fixed in PUP 4.5.0 - that is not correct. 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Henrik Lindberg Fix Version/s: None 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Moses Mendoza Labels: 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Ethan Brown updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Ethan Brown Fix Version/s: PUP 4.5.0 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Josh Cooper commented on PUP-3744 Re: Function to dig out allowed values for an attribute of a type There is now a `dig` function in puppet core, but I don't know about the getting "attribute values of a type" part. Henrik Lindberg is that possible now? 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Sean McDonald updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Sean McDonald Labels: 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-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Daniele Sluijters created an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Issue Type: New Feature Assignee: Henrik Lindberg Created: 2014/12/05 5:38 AM Priority: Normal Reporter: Daniele Sluijters What I want to be able to do is ask a type what the allowed values for one of its attributes is, if of course that has been specified in the type. The reason for doing so is that this can then be used to construct a type definition to be used as an annotation in the future parser: Consider a defined type which wraps around a file: define my_file * $ensure = 'file', ) {}
Jira (PUP-3744) Function to dig out allowed values for an attribute of a type
Title: Message Title Daniele Sluijters updated an issue Puppet / PUP-3744 Function to dig out allowed values for an attribute of a type Change By: Daniele Sluijters WhatIwanttobeabletodoisaskatypewhattheallowedvaluesforoneofitsattributesis,ifofcoursethathasbeenspecifiedinthetype.Thereasonfordoingsoisthatthiscanthenbeusedtoconstructatypedefinitiontobeusedasanannotationinthefutureparser:Consideradefinedtypewhichwrapsaroundafile:{code}definemy_file*$ensure='file',){}{code}NowIneedtomanuallyvalidatethevaluesfor{{$ensure}}butIknowwhattheyshouldbe,thesameasfile's{{ensure}}values.InsteaditwouldmakesensetobeabletosayIacceptallvaluesthatthisattributeofthattypeaccepts.{code}typemy_type=attribute_type(File,'ensure')//thisreturnsanEnumorothertypedefinitiondefinemy_file(My_type$ensure,){}{code}Itwouldalsobeprettyneatifthebuilt-intypeswouldallemittypesnamedalongthelinesofType_attributethatcanbeusedasis . soinsteadwecouldgo:{code}definemy_file(File_ensure$ensure,){}{code} Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- 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/d/optout.