Jira (PUP-6645) Remove the hiera_xxx functions

27 views
Skip to first unread message

Henrik Lindberg (JIRA)

unread,
Aug 23, 2016, 10:45:04 AM8/23/16
to puppe...@googlegroups.com
Henrik Lindberg created an issue
 
Puppet / Improvement PUP-6645
Remove the hiera_xxx functions
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2016/08/23 7:44 AM
Fix Versions: PUP 5.0.0
Priority: Normal Normal
Reporter: Henrik Lindberg

In Puppet 5.0.0 it is expected that the data management features of of Puppet has evolved to only use the "lookup" functionality introduced during the 4.x series which replaces the "hiera project" provided functionality while retaining the hierarchical data structures and data integration syntax.

In this ticket, the puppet functions hiera, hiera_include, hiera_array and hiera_hash will be removed from the puppet code base. Users should have transitioned to use the lookup function during the 4.x series.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
Sep 7, 2016, 6:12:33 PM9/7/16
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Team: Puppet Developer Support
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
Oct 4, 2016, 7:27:03 PM10/4/16
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Scrum Team: Language

Moses Mendoza (JIRA)

unread,
Dec 5, 2016, 5:05:03 PM12/5/16
to puppe...@googlegroups.com
Moses Mendoza updated an issue
Change By: Moses Mendoza
Fix Version/s: PUP 5.0.0
Fix Version/s: PUP 6.0.0

Moses Mendoza (JIRA)

unread,
Dec 5, 2016, 5:05:05 PM12/5/16
to puppe...@googlegroups.com
Moses Mendoza commented on Improvement PUP-6645
 
Re: Remove the hiera_xxx functions

Henrik Lindberg I'm gathering epics/issues for the maintenance team to review for PUP 5.0. I saw in your comment in PUP-6538:

Nicholas Fagerlund We expect the hiera_xxx functions to be removed in Puppet 6.0.0 (unless things happen along the way that makes us make a different decision and keep them in deprecated stated longer than that).

Based on your comment, I'm retargeting this at PUP 6.0.0 - let me know if that is incorrect?

Henrik Lindberg (JIRA)

unread,
Dec 6, 2016, 5:37:06 AM12/6/16
to puppe...@googlegroups.com

Correct. The hiera_xxx functions will supported until Puppet 6.0.0. They are deprecated from Puppet 4.9.0.

Joe Pinsonault (JIRA)

unread,
May 16, 2017, 6:40:03 PM5/16/17
to puppe...@googlegroups.com
Joe Pinsonault updated an issue
Change By: Joe Pinsonault
Labels: triaged

Geoff Nichols (JIRA)

unread,
Jun 25, 2017, 8:19:03 PM6/25/17
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Team: Puppet Developer Experience Agent

Josh Cooper (JIRA)

unread,
Mar 19, 2018, 5:30:03 PM3/19/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sub-team: Language
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Aug 3, 2018, 1:36:02 PM8/3/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.0.0
Fix Version/s: PUP 7.0.0

Melissa Stone (Jira)

unread,
Apr 29, 2020, 4:43:03 PM4/29/20
to puppe...@googlegroups.com
Melissa Stone assigned an issue to Josh Cooper
Change By: Melissa Stone
Assignee: Josh Cooper
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Lee Lowder (Jira)

unread,
Jun 8, 2020, 3:07:03 PM6/8/20
to puppe...@googlegroups.com
Lee Lowder commented on Improvement PUP-6645

One feature present in the hiera functions that are missing from lookup() is hiera's little known third argument - an alternate lookup path to used that overrides the lookup path defined in hiera.yaml.

This allowed us to, for example, override the lookup path on our pgpool nodes to pull some data specified in a yaml file specific to a given postgresql cluster. With the new method, we were told this is not possible, we have to restructure our hierarchy and use some sort of shared file.

This, however, requires considerable effort to execute properly as have have to find a way to have a file that is shared across two different roles, but still confined to a given group, lifecyle, and cluster (these are fact based layers or pieces to our current hierarchy) so that we can not have to enter the same data over and over but also not have the data leak into places it shouldn't be (i.e. a different PG cluster).  We face a similar issue with keepalived/haproxy/apache/tomcat type application stacks with pieces of configuration that need to be shared between them in a DRY manner.

Henrik Lindberg (Jira)

unread,
Jun 9, 2020, 2:38:03 PM6/9/20
to puppe...@googlegroups.com

Lee Lowder You could probably write a backend function and stick it into the hierarchy. Give it a URI of your choice instead of a path, then use logic in your backend function similar to what you have in your manifest where you decide on which path to use as overlay in your call to hiera. (just an idea).

Josh Cooper (Jira)

unread,
Jul 21, 2020, 12:50:02 PM7/21/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP- 9120 10591

Josh Cooper (Jira)

unread,
Aug 18, 2020, 12:33:03 PM8/18/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Froyo Coremunity

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:55:03 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.0.0
Fix Version/s: PUP 8.0.0

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:55:03 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: platform_7

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:55:04 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-6645

Given the potential user impact and available resources we have to work on this, I'm going to bump it out of puppet 7.

Josh Cooper (Jira)

unread,
Aug 27, 2020, 11:55:04 AM8/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-10591

Josh Cooper (Jira)

unread,
Nov 11, 2020, 2:34:03 AM11/11/20
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Unassigned
Change By: Josh Cooper
Assignee: Josh Cooper

Josh Cooper (Jira)

unread,
Apr 27, 2022, 12:52:02 AM4/27/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Component/s: Hiera & Lookup
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 27, 2022, 12:52:03 AM4/27/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity

Josh Cooper (Jira)

unread,
Sep 2, 2022, 3:01:03 PM9/2/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 8.0.0
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages