class tomcat inherits tomcat::params{
class tomcat(
$xms,
$xmx,
$user,
$group,
$service_name,
$service_state
) inherits tomcat::params{
class tomcat(
$xms = $::tomcat::params::xms,
$xmx = $::tomcat::params::xmx,
$user = $::tomcat::params::user,
$group = $::tomcat::params::group,
$service_name = $::tomcat::params::service_name,
$service_state = $::tomcat::params::service_state
) inherits tomcat::params{
Node definitions in app.pp change
from
include tomcat
to
class {'tomcat':
xms => "54m",
xmx => "80m"
}