Sha256: e19284b6cac196051b6a8c9ce24f939a5a9a68ad664ae0758247ba9fb3829799

Contents?: true

Size: 658 Bytes

Versions: 20

Compression:

Stored size: 658 Bytes

Contents

# This code fragment downloads tomcat 7.0.53, creates an instance and adds a listener
#
class { 'tomcat': }
class { 'java': }

tomcat::instance { 'mycat':
  catalina_base => '/opt/apache-tomcat/mycat',
  source_url    => 'http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.53/bin/apache-tomcat-7.0.53.tar.gz',
}->
tomcat::config::server::listener { 'mycat-jmx':
  catalina_base         => '/opt/apache-tomcat/mycat',
  listener_ensure       => present,
  class_name            => 'org.apache.catalina.mbeans.JmxRemoteLifecycleListener',
  additional_attributes => {
    'rmiRegistryPortPlatform' => '10001',
    'rmiServerPortPlatform'   => '10002',
  },
}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-retrospec-1.8.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.7.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.6.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.6.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.5.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.4.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.4.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.3.2 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.3.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.3.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.2.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.2.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.1.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-1.0.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.12.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.12.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.11.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.10.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.9.1 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp
puppet-retrospec-0.9.0 spec/fixtures/modules/tomcat/examples/instance_with_listener.pp