You should ```include ::tftp::params``` before using the variables. I suppose it should also be added to the Modulefile.