This change makes tftp directories lazy. It does that by making the parameters undef by default and determine them if tftp is actually included.
The main motivation is that f849d1284d3ee0a41eae4becc8b1a561b668c93c changed the tftp module. Prior to it, the logic was duplicated. With that change, it became dynamic which also made it a hard dependency. Technically it already was since it's always been listed in metadata.json. However, it functioned without it if tftp was false. With this change it really becomes optional.
Lazily load tftp directories
This change makes tftp directories lazy. It does that by making the
parameters undef by default and determine them if tftp is actually
included.
The main motivation is that f849d1284d3ee0a41eae4becc8b1a561b668c93c
changed the tftp module. Prior to it, the logic was duplicated. With
that change, it became dynamic which also made it a hard dependency.
Technically it already was since it's always been listed in
metadata.json. However, it functioned without it if tftp was false. With
this change it really becomes optional.