Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Eric Thompson updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg UPDATE:Thisendedupbeingimplementedasfollows:addsahierafunctioncalledaliasthatmakesitpossibletomakeonekeyinhieradatabeanaliasforanother.Thisisdifferentthanjustinterpolatinganotherkeysincethatwillresultinastring.original:-'a'-'b'aliased:%{alias('original')}Thisreturnsanarraywith['a','b']forboththeoriginalandaliasedkeys.Thedataentrythatusesthealiasfunctioncannotcombineitwithpost/prefixtext.(TheaboveisnotclearunlesslookingatthefinalPRthatwasmergedtomasterandreadingthesourcecode).ORIGINAL:--- - So,backintheoldRedminesystem,therewasfeature#23323(http://projects.puppetlabs.com/issues/23323),whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario:{code}==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local{code}Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg UPDATE:Thisendedupbeingimplementedasfollows: adds Add ahierafunctioncalled {{ alias }} thatmakesitpossibletomakeonekeyinhieradatabeanaliasforanother.Thisisdifferentthanjustinterpolatinganotherkeysincethatwillresultinastring. {code} original:-'a'-'b'aliased:%{alias('original')} {code} Thisreturnsanarraywith {{ ['a','b'] }} forboththe {{ original }} and {{ aliased }} keys.Thedataentrythatusesthe {{ alias }} functioncannotcombineitwithpost/prefixtext.(TheaboveisnotclearunlesslookingatthefinalPRthatwasmergedtomasterandreadingthesourcecode).ORIGINAL TICKETTEXT :So,backintheoldRedminesystem,therewasfeature#23323(http://projects.puppetlabs.com/issues/23323),whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario:{code}==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local{code}Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg UPDATE:Thisendedupbeingimplementedasfollows:addsahierafunctioncalledaliasthatmakesitpossibletomakeonekeyinhieradatabeanaliasforanother.Thisisdifferentthanjustinterpolatinganotherkeysincethatwillresultinastring.original:-'a'-'b'aliased:%{alias('original')}Thisreturnsanarraywith['a','b']forboththeoriginalandaliasedkeys.Thedataentrythatusesthealiasfunctioncannotcombineitwithpost/prefixtext.(TheaboveisnotclearunlesslookingatthefinalPRthatwasmergedtomasterandreadingthesourcecode).ORIGINAL:--- So,backintheoldRedminesystem,therewasfeature#23323(http://projects.puppetlabs.com/issues/23323),whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario:{code}==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local{code}Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Re: Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
The patch worked across all of the systems in which I deployed it if that's any help. On Thu, Jan 29, 2015 at 9:49 AM, Kurt Wall (JIRA) issue-upda...@puppetlabs.com wrote: Kurt Wall https://tickets.puppetlabs.com/secure/ViewProfile.jspa?name=kurt.wall *commented* on [image: Improvement] HI-183 https://tickets.puppetlabs.com/browse/HI-183Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. https://tickets.puppetlabs.com/browse/HI-183 Thomas Hallgren https://tickets.puppetlabs.com/secure/ViewProfile.jspa?name=thomas.hallgren I started working on it, bumped into my hiera ignorance, then got distracted by other work. I've unassigned myself. [image: Add Comment] https://tickets.puppetlabs.com/browse/HI-183#add-comment Add Comment https://tickets.puppetlabs.com/browse/HI-183#add-comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) [image: Atlassian logo] -- 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. -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Thomas Hallgren commented on HI-183 Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Kurt Wall, this was merged into master 4 months ago so I assume it passed review. Did it pass CI? Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg Sprint: Language2015-02-04 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Henrik Lindberg Story Points: 1 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Kurt Wall commented on HI-183 Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Thomas Hallgren I started working on it, bumped into my hiera ignorance, then got distracted by other work. I've unassigned myself. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Kurt Wall assigned an issue to Unassigned Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Kurt Wall Assignee: KurtWall Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Henrik Lindberg commented on HI-183 Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Trevor Vaughan reported that he has applied this patch and it works well across all of his systems. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Kurt Wall assigned an issue to Unassigned Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Kurt Wall Assignee: KurtWall 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Kurt Wall assigned an issue to Kurt Wall Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Kurt Wall Assignee: KurtWall 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Rob Reynolds assigned an issue to Rob Reynolds Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Rob Reynolds Assignee: RobReynolds Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Rob Reynolds commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Merged into master at 2ac44e5d Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Rob Reynolds updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Rob Reynolds Fix Version/s: HI1.4.0 Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Kylo Ginsberg updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Kylo Ginsberg Component/s: Community Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Rob Reynolds assigned an issue to Rob Reynolds Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Rob Reynolds Assignee: RobReynolds Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Rob Reynolds assigned an issue to Rob Reynolds Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Rob Reynolds Assignee: RobReynolds Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Dan Bode commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. I took at stab at updating Michael's code and submitted it as: https://github.com/puppetlabs/hiera/pull/213 Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. I've verified that this works as expected in my code base. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Michael Chapman commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Following Adrien's comments on the original PR that backwards compatibility was an issue, I have attempted to add a new lookup function that preserves types and have created a new pull request with an implementation. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. This looks like a good solution to me. I'll roll it in and see if it works for what I'm doing. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Andy Parker updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Andy Parker Component/s: Community Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Andy Parker commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Trevor Vaughan, we've closed out the PR because it had several issues in the way the feature was implemented. The PR comments have more details. I'm going to leave this ticket open because the request is still valid. If work continues, please tie it back to this ticket as well. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Andy Parker assigned an issue to Trevor Vaughan Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Andy Parker Assignee: TrevorVaughan Add Comment 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Any love here? This would be really great to have in the main line. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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/d/optout.
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Ok, changing hiera_interpolate in interpolate.rb to the following does what I expect: def hiera_interpolate(data, key, scope, extra_data) value = Hiera::Backend.lookup(key, nil, scope, nil, :priority) if value.is_a?(String) return data.sub(METHOD_INTERPOLATION, value) else return value end end I'm not sure about the far reaching ramifications of this, but it certainly does what I need it to do consistently. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Had to update the code for Hiera 1.3.2. It took a while to dig through the recursion but the code has been submitted as a pull request. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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,
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Sorry I missed this somehow. I'll have to take a look at the code I suppose. Would it be possible to use a different method for searching the hierarchy? How I feel that it should work: 1) If trying to assign to an LHS value - Must return a string 2) If trying to assign to an RHS value - Return whatever you want When running the code, the error that is returns makes it seem like it's almost doing this. It tries to convert an Array/Hash to a string and then bombs. If you just returned me the value that you're bombing on, I'd have what I wanted. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. All, any thoughts about this? It's really causing issues. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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 (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. I suppose that I should have fleshed out the original example more: I need this to work properly: == default.yaml == trusted_domains : sales.local dev.local == web_server/default.yaml == web_server::trusted_domains: % {hiera(trusted_domains)} Right now, with hiera-1.3, this throws an exception with Can't convert Array into String. While using hiera_array just returns nothing at all. http://docs.puppetlabs.com/hiera/1/variables.html#the-hiera-lookup-function indicates that the result of whatever you're looking up must be a string. I know that, in this example, I could use the deeper merge strategy but that doesn't cover the case where you need this variable at the same level and is an artifact of the way that I structured the example code. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this...
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Trevor Vaughan So,backintheoldRedminesystem,therewasfeature# 23302 23323 ,whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario:{code}==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local{code}Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment 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 (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Trevor Vaughan So,backintheoldRedminesystem,therewasfeature#23323 (http://projects.puppetlabs.com/issues/23323) ,whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario:{code}==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local{code}Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment 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 (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Sorry about that, it was 23323, I updated the issue with the proper links. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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 (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Adrien Thebo commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. Is this similar to what's described at http://docs.puppetlabs.com/hiera/1/release_notes.html#feature-hiera-sub-lookups-from-within-interpolation-tokens ? Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. It appears to be exactly http://projects.puppetlabs.com/issues/23301. The sub-lookup link still references looking up only strings (as far as I can tell). You still can't look up hashes or arrays. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Adrien Thebo commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. I'm still not sure I understand what you need here, do you just need to be able to do array concatenation/hash merging of top level values? Could you provide a bit more detail on how you would like to see different levels of the hierarchy merged? Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23323 (http://projects.puppetlabs.com/issues/23323), which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this... 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
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Trevor Vaughan created an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Issue Type: Improvement Affects Versions: 1.3.1 Assignee: Adrien Thebo Components: Community Created: 14/Feb/14 2:45 PM Environment: ALL Labels: redmine Priority: Normal Reporter: Trevor Vaughan So, back in the old Redmine system, there was feature #23302, which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this scenario: == hiera.yaml == % {module_name}
Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Adrien Thebo updated an issue Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. Change By: Adrien Thebo So,backintheoldRedminesystem,therewasfeature#23302,whichneededtobeabletolookuphashesandarraysfromotherpartsofHiera.Iwouldliketoreinstatethatrequestheresincethecurrentsolutiononlypartiallymeetscommondatamanagementconsolidationneeds.Forinstance,considerthisscenario: {code} ==hiera.yaml==%{module_name}/defaultdefault==default.yaml==trusted_domains:-sales.local-dev.local==web_server/default.yaml==web_server::trusted_domains:-sales.local-dev.local==email_server/default.yaml==email_server::trusted_domain:-sales.local-dev.local {code} Nowthisisobviouslycontrived,butitmakesitverystraightforwardtohavethedefaultsforeachmoduleonthesystemseparatedandnotinasinglehugefile.Eveninasinglefile,youwouldhavethesameissuewithhavingtogothrougheachandeveryfieldandmakeupdateswhichwould,ofcourse,bequiteerrorprone.Ifwecouldsimplyreferencetheoriginalhieravariableandhavethearraycarriedacrosstheboard,itwouldmakeeverythingjustworkwiththeopportunityoflocaloverrides. Add Comment 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 (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.
Title: Message Title Adrien Thebo commented on an issue Re: Really need the ability to lookup hashes and arrays from other parts of Hiera. The redmine issue 23302 (https://projects.puppetlabs.com/issues/23302) is titled pupept fails with uppercase hostname and class with parameters and doesn't seem to be the associated redmine issue, otherwise I would link this issue and the Redmine issue. Add Comment Hiera / HI-183 Really need the ability to lookup hashes and arrays from other parts of Hiera. So, back in the old Redmine system, there was feature #23302, which needed to be able to look up hashes and arrays from other parts of Hiera. I would like to reinstate that request here since the current solution only partially meets common data management consolidation needs. For instance, consider this scenario: {code} == hiera.yaml == %{modu... 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