# profiles::haproxy::certlist class profiles::haproxy::certlist ( Boolean $enabled = true, Stdlib::Absolutepath $path = '/etc/haproxy/certificate.list', Array[Stdlib::Absolutepath] $certificates = [] ) { if $enabled { file { $path: ensure => 'file', owner => 'root', group => 'root', mode => '0600', content => template('profiles/haproxy/certificate.list.erb') } } }