1 2 3 4 5 6 7 8 9 10 11 12 13
class henks_ircservices ( Array $networks ) { require 'sslcert' $networks.each |$network| { henks_ircservices::network { $network['name']: run_user => $network.dig('system_user').lest | | { "irc-services-${network['name']}" }, ; } } }