That makes perfect sense and achieves exactly what we need. Thank you!

On Monday, August 25, 2014 11:34:06 AM UTC+2, Juan Sierra Pons wrote:
>
> Hi, 
>
> You can create another abstration level and put all your specific 
> logic inside. Have a look to the roles & profiles literature on the 
> Internet. 
>
> For example create a apache profile (eg: webserver.pp) with the following: 
>
> include apache 
> create_resources(apache::my_vhosts,hiera_hash('apache::my_vhosts')) 
>
> This way you accomplishes the two requirements: do not touch the 
> module and put all your data on hiera :) 
>
> Best regards 
> --------------------------------------------------------------------------------------
>  
>
> Juan Sierra Pons                                 [email protected] 
> <javascript:> 
> Linux User Registered: #257202 
> Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo 
> GPG key = 0xA110F4FE 
> Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE 
> --------------------------------------------------------------------------------------
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d1135191-0e00-4897-bae6-aa537e46478a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to