The lines should match the following syntax:
deb|deb-src uri distribution [component1] [component2] [...]
http://www.debian.org/doc/manuals/repository-howto/repository-howto#using-a-repository
There are modules for checking URIs, they could be used.
The distribution can be a list or hash of strings (jaunty, hardy, hardy-backports, etc.)
The lines should match the following syntax:
deb|deb-src uri distribution [component1] [component2] [...]
http:// www.debian. org/doc/ manuals/ repository- howto/repositor y-howto# using-a- repository
There are modules for checking URIs, they could be used.
The distribution can be a list or hash of strings (jaunty, hardy, hardy-backports, etc.)