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
ju...@elsotanillo.net
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
--------------------------------------------------------------------------------------