Ask Your Question
0

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

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

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
0

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

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: https://docs.puppetlabs.com/guides/external_nodes.html#enc-output-format.

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

edit flag offensive delete link more

Comments

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 -0600 )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 -0600 )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

Stats

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

Seen: 82 times

Last updated: Dec 21 '15