You should use variables are defined in tomcat and not in tomcat::params (otherwise you would lose settings passed by the used).
So $tomcat::params::config_dir should become $tomcat::config_dir 
and you should require tomcat and not tomcat::params