Ask Your Question

Using hiera and defined types

asked 2013-08-12 15:33:48 -0500

Andyh1983 gravatar image

updated 2013-09-12 01:19:11 -0500

golja gravatar image

I have just started using puppet 3 and from the beginning am trying to use hiera.

I am doing ok so far with classes and assigning them to nodes and setting variables etc with hiera, but am struggling to find an end to end example detailing using hiera with defined types, for example how would you use hiera with the apache::vhost example in the puppet learning vm tutorials? I've found some info on using create_resources but haven't been able to figure it out just yet. If any one has a basic example of how this functionality works ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-12 15:52:12 -0500

ramindk gravatar image
edit flag offensive delete link more


Hiya thanks for the links, I think I had been over them before but for some reason this morning the penny finally dropped and I have got it working now ...(more)

Andyh1983 gravatar imageAndyh1983 ( 2013-08-13 05:22:24 -0500 )edit

Thanks for these links! I found that "end to end role/profile example using hiera" (your first link) easiest to understand.

Nic gravatar imageNic ( 2013-08-19 20:42:37 -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: 2013-08-12 15:33:48 -0500

Seen: 4,281 times

Last updated: Sep 12 '13