Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2015-12-08 Thread Eric Thompson (JIRA)
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.

2015-02-06 Thread Henrik Lindberg (JIRA)
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:This ended up being implemented as follows: adds Add  a "hiera function" called  {{  alias }}  that makes it possible to make one key in hiera data be an alias for another. This is different than just interpolating another key since that will result in a string. {code} original:  - 'a'  - 'b'aliased: "%{alias('original')}" {code} This returns an array with  {{  ['a', 'b'] }}  for both the  {{  original }}  and  {{  aliased }}  keys.The data entry that uses the  {{  alias }}  function cannot combine it with post/prefix text.(The above is not clear unless looking at the final PR that was merged to master and reading the source code).ORIGINAL  TICKET TEXT :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 scenario:{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}Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 Th

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2015-02-06 Thread Henrik Lindberg (JIRA)
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:This ended up being implemented as follows:adds a "hiera function" called alias that makes it possible to make one key in hiera data be an alias for another. This is different than just interpolating another key since that will result in a string.original:  - 'a'  - 'b'aliased: "%{alias('original')}"This returns an array with ['a', 'b'] for both the original and aliased keys.The data entry that uses the alias function cannot combine it with post/prefix text.(The above is not clear unless looking at the final PR that was merged to master and reading the source code).ORIGINAL:--- - 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 scenario:{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}Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2015-02-06 Thread Henrik Lindberg (JIRA)
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:This ended up being implemented as follows:adds a "hiera function" called alias that makes it possible to make one key in hiera data be an alias for another. This is different than just interpolating another key since that will result in a string.original:  - 'a'  - 'b'aliased: "%{alias('original')}"This returns an array with ['a', 'b'] for both the original and aliased keys.The data entry that uses the alias function cannot combine it with post/prefix text.(The above is not clear unless looking at the final PR that was merged to master and reading the source code).ORIGINAL:--- 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 scenario:{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}Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2015-01-29 Thread Henrik Lindberg (JIRA)
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.

2015-01-29 Thread Henrik Lindberg (JIRA)
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.

2015-01-29 Thread Henrik Lindberg (JIRA)
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:
 
 Language 2015-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.

2015-01-29 Thread Henrik Lindberg (JIRA)
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.


Re: Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2015-01-29 Thread Trevor Vaughan
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
> 
> *commented* on [image: Improvement] 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.
>[image: Add Comment]
>   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.

2015-01-29 Thread Kurt Wall (JIRA)
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.

2015-01-29 Thread Kurt Wall (JIRA)
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:
 
 Kurt Wall 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2015-01-29 Thread Thomas Hallgren (JIRA)
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.

2015-01-06 Thread Kurt Wall (JIRA)
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:
 
 Kurt Wall 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2014-12-17 Thread Kurt Wall (JIRA)
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:
 
 Kurt Wall 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2014-12-12 Thread Kurt Wall (JIRA)
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:
 
 Kurt Wall 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.

2014-10-10 Thread Rob Reynolds (JIRA)
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:

 Rob Reynolds












   

 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.

2014-10-09 Thread Rob Reynolds (JIRA)
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:

 HI 1.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.

2014-10-09 Thread Rob Reynolds (JIRA)
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.

2014-10-01 Thread Rob Reynolds (JIRA)
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:

 Rob Reynolds












   

 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.

2014-10-01 Thread Rob Reynolds (JIRA)
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:

 Rob Reynolds












   

 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.

2014-10-01 Thread Kylo Ginsberg (JIRA)
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.

2014-09-22 Thread Dan Bode (JIRA)
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 https://groups.google.com/d

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-09-01 Thread Trevor Vaughan (JIRA)
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.

2014-08-28 Thread Trevor Vaughan (JIRA)
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.

2014-08-28 Thread Michael Chapman (JIRA)
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.

2014-07-16 Thread Andy Parker (JIRA)
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 

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-07-16 Thread Andy Parker (JIRA)
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.

2014-07-09 Thread Andy Parker (JIRA)
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:

 Trevor Vaughan












   

 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.

2014-06-12 Thread Trevor Vaughan (JIRA)
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.

2014-05-02 Thread Trevor Vaughan (JIRA)
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.

2014-05-02 Thread Trevor Vaughan (JIRA)
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.

2014-03-16 Thread Trevor Vaughan (JIRA)
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.

2014-03-05 Thread Trevor Vaughan (JIRA)
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.

2014-02-16 Thread Trevor Vaughan (JIRA)
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.

2014-02-15 Thread Adrien Thebo (JIRA)
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 pu

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-15 Thread Trevor Vaughan (JIRA)
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.

2014-02-15 Thread Adrien Thebo (JIRA)
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.
F

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-15 Thread Trevor Vaughan (JIRA)
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, 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 scenario:{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}Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides.












   

 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 

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-15 Thread Trevor Vaughan (JIRA)
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.

2014-02-15 Thread Trevor Vaughan (JIRA)
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, back in the old Redmine system, there was feature # 23302 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 scenario:{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}Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides.












   

 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/g

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-14 Thread Adrien Thebo (JIRA)
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 ema

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-14 Thread Adrien Thebo (JIRA)
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, 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 ==%{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}   Now this is obviously contrived, but it makes it very straightforward to have the defaults for each module on the system separated and not in a single huge file.Even in a single file, you would have the same issue with having to go through each and every field and make updates which would, of course, be quite error prone.If we could simply reference the original hiera variable and have the array carried across the board, it would make everything "just work" with the opportunity of local overrides.












   

 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/p

Jira (HI-183) Really need the ability to lookup hashes and arrays from other parts of Hiera.

2014-02-14 Thread Trevor Vaughan (JIRA)
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}