Jira (PUP-10250) is it time to remove deprecated hiera_* functions?

10 views
Skip to first unread message

Ben Ford (JIRA)

unread,
Jan 23, 2020, 5:12:04 PM1/23/20
to puppe...@googlegroups.com
Ben Ford created an issue
 
Puppet / Improvement PUP-10250
is it time to remove deprecated hiera_* functions?
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2020/01/23 2:11 PM
Priority: Normal Normal
Reporter: Ben Ford

Functions like hiera_hash() have been deprecated for three years now. Is Puppet 7 the right time to remove them?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Ben Ford (JIRA)

unread,
Jan 23, 2020, 5:20:03 PM1/23/20
to puppe...@googlegroups.com
Ben Ford updated an issue
Change By: Ben Ford
Functions like {{hiera_hash()}} have been [deprecated for three years|https://github.com/puppetlabs/puppet/blame/master/lib/puppet/functions/hiera_hash.rb#L5] now. Is Puppet 7 the right time to remove them? There are still 146 modules that use this function, but we could create a puppet-lint plugin to help update these.

Henrik Lindberg (JIRA)

unread,
Jan 23, 2020, 6:58:04 PM1/23/20
to puppe...@googlegroups.com
Henrik Lindberg commented on Improvement PUP-10250
 
Re: is it time to remove deprecated hiera_* functions?

A bigger question if we can drop all of the hiera 3 support as well as the functions; the hiera gem, project, backends and support for the hiera 3 version of the hiera.yaml. (And while at it also remove the support for the hiera 4 format and semantics.

Dropping all of that has several technical benefits - less code to maintain, build and test, getting rid of old unmaintainable code, less code to load at runtime etc.

Josh Cooper (JIRA)

unread,
Jan 24, 2020, 11:39:04 AM1/24/20
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-10250

This is a dup of PUP-6645, but that wasn't in the 7.0 removal epic. I've fixed that.

Josh Cooper (Jira)

unread,
Jul 21, 2020, 12:53:03 PM7/21/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Epic Link: PUP- 9120 10591
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages