cdn-ops/global/overlay/etc/puppet/modules/cdn/manifests/mqtt.pp
2024-10-06 14:32:17 +02:00

18 lines
370 B
Puppet

# Configure a SUNET CDN mqtt server
class cdn::mqtt(
String $dc = '',
Array[String] $clients = [],
Hash[String, Hash] $bridges = {},
)
{
package {'mosquitto': ensure => installed }
file { '/etc/mosquitto/aclfile':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => template('cdn/mqtt/aclfile.erb'),
}
}