Omit empty options in source.list template to fix MODULES-11174
authorMatthias Pigulla <mp@webfactory.de>
Sun, 9 Jan 2022 22:51:55 +0000 (23:51 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 22:51:55 +0000 (23:51 +0100)
commit255a498f50604b0cbd7abf223d3cd459f59fdbe9
tree5259780dc5ba336e88cd933b1ffc7bc3f1efab8e
parent6fa24e6b09cf988b897b2b5dc9b911770c0c71b7
Omit empty options in source.list template to fix MODULES-11174

Empty `[name= ...]` options in a soures list lead to Apt parsing errors.

This change skips such empty options, resolving https://tickets.puppetlabs.com/browse/MODULES-11174.
templates/source.list.epp