Jira (HI-622) Hiera/Lookup should warn when encountering keys with namespaces

3 views
Skip to first unread message

Chris Tessmer (Jira)

unread,
Mar 10, 2021, 3:46:01 PM3/10/21
to puppe...@googlegroups.com
Chris Tessmer created an issue
 
Hiera / New Feature HI-622
Hiera/Lookup should warn when encountering keys with namespaces
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: CLI, UX
Created: 2021/03/10 12:45 PM
Priority: Normal Normal
Reporter: Chris Tessmer

A common (but hard-for-humans-to-spot) typo in Hiera data is namespacing parameters with a single colon instead of a two, like:

 

mod_name::ns1::ns2:parameter: value

 

instead of:

mod_name::ns1::ns2::parameter: value

It could save the industry a lot of collective time and head-scratching if Hiera or `puppet module lookup --explain` could emit a warning when encountering any key name that contains a single colon (:) instead of a double colon (::).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages