Ask Your Question

how to find the location of variable passed from puppet console?

asked 2015-12-21 06:32:05 -0500

yoga gravatar image

when we using puppet console if we want to pass a key value globally means we give it in variable tab. want to know where that variables are stored,and how it processed?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-21 15:42:40 -0500

GregLarkin gravatar image

The variables you define in the PE console are stored in the console database in PostreSQL, and are propagated to the Puppet compiler when the console delivers its node classification payload. You can find out the format here:

The global variables will be delivered in the parameters section of the ENC output from the console.

edit flag offensive delete link more


Thank you, i want to know the exact location or directory that contain the variables in postgresql?

yoga gravatar imageyoga ( 2015-12-28 03:31:26 -0500 )edit

They are likely stored in the database itself, so you would have to either perform a SQL query to figure that out or create a database dump and inspect it. Is there a specific problem you are trying to solve with this information?

GregLarkin gravatar imageGregLarkin ( 2015-12-28 12:21:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-21 06:32:05 -0500

Seen: 70 times

Last updated: Dec 21 '15