using hiera to define a list of optional components
I am using Puppet to configure a region-based server that will host one or more services.
I am using Hiera to define the various regional server-types.
Parameterizing the region is easy - because it is defined per-server-type :
services_domain_com.yaml na_services_domain_com::configuration: region: 'na' service_type: service_type_a: service_name: 'service-a' service_port: '3001' service_type_b: service_name: 'service-b' service_port: '3002' service_type_c: service_name: 'service-c' service_port: '3003'
In my node-def , how to define the list of service-types I'd like to configure for a particular node ?
Or am I going about this the right way ?