Ask Your Question

How to assign node specific variable using pe-console v2015 3.1?

asked 2016-02-11 03:17:47 -0600

yoga gravatar image

updated 2016-02-11 19:37:03 -0600

I have assigned same class to given node. However, the variable's value depends on the node.

Is it possible to dynamically changed the value based on the node

I'm using Puppet Enterprise v2015.3.1?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-11 09:44:40 -0600

gschandra gravatar image

you have to create a params.pp, inherit that class in your init.pp. the class would show up in the console, once you add the class, it will give you options to choose the variables from a drop down menu.

edit flag offensive delete link more

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: 2016-02-11 03:17:47 -0600

Seen: 473 times

Last updated: Feb 11 '16