Is it posible to generate a subclass from a value in hiera?
i.e.
class yum (
$subclass_name = undef,
) {
class yum::repo::$subclass_name
I want to be able to create yumrepos individually without having to generate a template file for each one.
Idea is:
include yum::repo::epel
include yum::repo::kernel
I haven't tested this, but wanted to see if anyone has tried this, if it will work, and any implications.
Thanks!