Jira (PUP-9038) Ability to pass variables into puppet lookup

2 views
Skip to first unread message

Nick Maludy (JIRA)

unread,
Aug 3, 2018, 9:06:03 AM8/3/18
to puppe...@googlegroups.com
Nick Maludy created an issue
 
Puppet / New Feature PUP-9038
Ability to pass variables into puppet lookup
Issue Type: New Feature New Feature
Affects Versions: PUP 5.5.3
Assignee: Thomas Hallgren
Components: Hiera & Lookup
Created: 2018/08/03 6:05 AM
Priority: Normal Normal
Reporter: Nick Maludy

In the old `hiera` CLI you could pass in variables like so:

hiera my_key var1=xxx

With `puppet lookup` this is only possible by supplying a facts file.

puppet lookup --facts facts.yaml my_key

It would be great if the new CLI could support passing variables like the old Hiera 3 CLI did!

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

Jorie Tappa (JIRA)

unread,
Aug 6, 2018, 5:06:02 PM8/6/18
to puppe...@googlegroups.com
Jorie Tappa assigned an issue to Unassigned
Change By: Jorie Tappa
Assignee: Thomas Hallgren

Jorie Tappa (JIRA)

unread,
Aug 6, 2018, 5:06:06 PM8/6/18
to puppe...@googlegroups.com
Jorie Tappa updated an issue
Change By: Jorie Tappa
Sub-team: Language

Henrik Lindberg (JIRA)

unread,
Aug 15, 2018, 5:23:02 PM8/15/18
to puppe...@googlegroups.com
Henrik Lindberg commented on New Feature PUP-9038
 
Re: Ability to pass variables into puppet lookup

Note that --facts, sets facts (i.e. contents in the $facts hash) and not just top scope variables. In older puppet facts were only top scope variables.

We cannot just have var=xxx since that does not say if it is just a top scope variable, or a fact. Maybe only facts are wanted?

Jorie Tappa (JIRA)

unread,
Oct 8, 2018, 5:08:09 PM10/8/18
to puppe...@googlegroups.com

Maggie Dreyer (Jira)

unread,
Apr 14, 2021, 11:44:02 AM4/14/21
to puppe...@googlegroups.com
Maggie Dreyer commented on New Feature PUP-9038
 
Re: Ability to pass variables into puppet lookup

We're not going to get to this any time soon, if there are more customers that are struggling with this, and it needs to be prioritized, please reopen and/or reach out to Nick Walker.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages