1 2 3 4 5
class nspawn ( Hash[String,Hash] $machines, ) { create_resources(nspawn::machine, $machines) }