Configuring Tomcat with the manager

31 views
Skip to first unread message

Paul Wilson

unread,
Jul 24, 2014, 9:44:00 AM7/24/14
to example42-pu...@googlegroups.com
Hi,

I'm new to puppet and am struggling to find the correct configuration to enable the tomcat manager for my tomcat instance. 

I have the following configuration in my pp file:

  class { "tomcat":
     disable => true,
  }

  tomcat::instance { 't1':

     http_port     => '8081',
     control_port  => '6081',
     manager => true

  }

  tomcat::users { 'users':

     source => 'puppet:///files/tomcat/users.xml',

  }

Am I to understand that adding the manager => true directive is enough to enable the manager? What am I missing?

Regards,
Paul

Alessandro Franceschi

unread,
Jul 24, 2014, 3:24:32 PM7/24/14
to example42-pu...@googlegroups.com
Hi, 
would you provide some more details, such as:
- Output of the command "facter" from the host you try to install tomcat
- Complete output of the Puppet transaction when you try to apply the above code
- Verify if you find the tomcat manage package installed on your system ( the name is take from:
 $pkgver = "tomcat${real_version}"

### Application related parameters
  $manager_package = $::operatingsystem ? {
    /(?i:Debian|Ubuntu)/ => "${pkgver}-admin",
    /(?i:CentOS|RedHat|Scientific)/ => "${pkgver}-admin-webapps",
    default => undef,
  } - Output of the command "find /var/lib/tomcat*"

Eventually place these outputs on some gist and link them here, as they might be quite long.


best regards,
al

--
You received this message because you are subscribed to the Google Groups "Example42 Puppet Modules" group.
To unsubscribe from this group and stop receiving emails from it, send an email to example42-puppet-m...@googlegroups.com.
To post to this group, send email to example42-pu...@googlegroups.com.
Visit this group at http://groups.google.com/group/example42-puppet-modules.
For more options, visit https://groups.google.com/d/optout.

Paul Wilson

unread,
Aug 9, 2014, 1:19:04 PM8/9/14
to example42-pu...@googlegroups.com
Resolved by using Ubuntu Trusty instead of Precise.

Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to example42-puppet-modules+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages