Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Kurt Wall updated an issue Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Kurt Wall QA Risk Assessment: Low Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Henrik Lindberg commented on HI-523 Re: Add support for using hocon for main hiera config file That means that there is nothing to implement here in this ticket as the data providers are in puppet. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Henrik Lindberg commented on HI-523 Re: Add support for using hocon for main hiera config file Chris Price That last clarified part makes sense (hiera.conf, then hiera.yaml, in the data providers but not in hiera-the-project (i.e. 3.x hiera)). Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price commented on HI-523 Re: Add support for using hocon for main hiera config file Alright, we just got off of a call with Nicholas Fagerlund and he helped us clarify our understanding of how all of this works. I think that as a result of that we landed basically where Henrik suggested: 1. We will not try to do anything for the old/hiera3 version of hiera.yaml that lives in the conf/codedir. 2. For environment/module versions of hiera.yaml, we were confused and thought that Puppet's hiera_config setting would come into play somehow. We now understand that it does not, and that the hiera.yaml filename is hard-coded into the data provider. So for this ticket, Jane Lu will add some logic that allows us to look for either hiera.conf or hiera.yaml in that directory, and parse the config accordingly. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price commented on HI-523 Re: Add support for using hocon for main hiera config file Jane Lu yes, based on the other thread, I think we would be using .conf here. Henrik Lindberg for the first stab at this I think we probably wouldn't be changing anything in packaging. We might not even change the search path stuff - we could just say "iff you set your hiera config path to a file that ends with .conf, we will attempt to parse it as HOCON. Hopefully the result of that would give us just a raw data structure (Ruby map) that we could pass along to the consuming code in just the same way that you currently parse the YAML into a map (before deciding whether it is v3 or v4). Does that sound tractable? I don't have any issue with not supporting hiera 3 config format in HOCON if there is a win to be had there, but it seems like if the steps are just: find config file parse into a map pass map to lookup code so it can decide what version it is and how to perform lookups Then the HOCON bit doesn't even really care whether we're talking about hiera 3 or 4? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-523) Add support for using hocon for main hiera config file
Title: Message Title Jane Lu updated an issue Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Jane Lu Sub-team: emerald Story Points: 2 Sprint: Server Emerald 2016-07-13 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Jane Lu assigned an issue to Jane Lu Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Jane Lu Assignee: Jane Lu Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Jane Lu assigned an issue to Unassigned Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Jane Lu Assignee: Jane Lu Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Jane Lu assigned an issue to Jane Lu Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Jane Lu Assignee: Jane Lu Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Jane Lu commented on HI-523 Re: Add support for using hocon for main hiera config file Just to be clear Henrik Lindberg, we are going to be using hiera.yaml and hiera.conf, not hiera.hocon correct? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Erik Dasher updated an issue Hiera / HI-523 Add support for using hocon for main hiera config file Change By: Erik Dasher QA Risk Assessment Reason: Testing and Risk Assessment documented in HI-525. QA Status: Reviewed QA Contact: Erik Dasher Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price commented on HI-523 Re: Add support for using hocon for main hiera config file Henrik Lindberg awesome, thanks. We'll read up on this before doing any work on this ticket, and may have questions or responses to the comments you added above once we get there. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Henrik Lindberg commented on HI-523 Re: Add support for using hocon for main hiera config file I think this docs page explains the differences: https://docs.puppet.com/puppet/latest/reference/lookup_quick.html Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price commented on HI-523 Re: Add support for using hocon for main hiera config file Henrik Lindberg I didn't realize that the format had changed between "3" and "4". We (server devs) need to do some homework and reading before we actually consider starting work on this ticket. Are there docs somewhere that explain the differences between the old and new system? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Henrik Lindberg commented on HI-523 Re: Add support for using hocon for main hiera config file We also have the hiera.yaml version 4 format for lookup (used in environments and modules), and it needs to search for hiera.hocon and then hiera.yaml. Both hiera and puppet handles location of hiera configuration file Search path needs to be updated; first codedir/hiera.hocon, then codedir/hiera.yaml, then confdir/hiera.yaml Since we are also on a path of dropping "hiera 3 the project" in favor for the hiera support in puppet (that is, we should add the global layer to "lookup" implemented using the hiera 4 configuration format), would it be terribly bad to just keep the hiera 3 configuration as is? Users would otherwise have to migrate their hiera.yaml to hiera.hocon, and then to the version 4 format. Far fewer are using the hiera.yaml version 4 format (data in environments and modules). My thought here is that we change to hocon for the global layer at the same time as supporting the version 4 features (only available in the puppet implementation). If we want to change from using hiera.yaml to hiera.hocon in packaged configurations we have some interesting gymnastics to perform in upgrade scripts (that we will need to do twice if we first move to hocon, and then to version 4 format). Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price commented on HI-523 Re: Add support for using hocon for main hiera config file ping Henrik Lindberg Kylo Ginsberg just for visibility. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (HI-523) Add support for using hocon for main hiera config file
Title: Message Title Chris Price created an issue Hiera / HI-523 Add support for using hocon for main hiera config file Issue Type: Task Assignee: Unassigned Created: 2016/07/07 10:24 AM Priority: Normal Reporter: Chris Price This is a follow-up to HI-341 and related tickets. After that work is completed, we will have the ability to use HOCON for hiera data files, but the main hiera config file will still be expressed as YAML. It would be nice to optionally support HOCON for the main hiera config as well. In order to do this in a backward-compatible way, we should probably try to alter the logic that currently loads the hiera.yaml file so that it looks first for a hiera.conf file, and if it finds it, parses it as HOCON. If it doesn't find it, it should fall back to the current logic for reading the YAML file. There will probably be changes required in both the hiera and puppet projects to achieve this; after we investigate a bit further, it might be reasonable to create a separate PUP ticket for those changes. Add Comment