Ask Your Question
0

Hiera variables help

asked 2016-06-28 16:10:07 -0500

puppetamateur gravatar image

updated 2016-06-29 17:39:43 -0500

can someone help me with including hiera variables where I donot have to repeat the "%{hiera('')}" and class:: every time

file1.yaml

     class::param1: "valuees1"
     class::param2: "%{hiera('class::param1')}a"
     class::param3: "%{hiera('class::param1')}b"

file2.yaml

     class2::param1: "valuees1"
     class2::param2: "%{hiera('class2::param1')}a"
     class2::param3: "%{hiera('class::param1')}b"
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-29 20:34:10 -0500

lupin gravatar image

Read the docs here and ask if there's something you need that's not covered.

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

Stats

Asked: 2016-06-28 16:10:07 -0500

Seen: 53 times

Last updated: Jun 29 '16