Sha256: 70b5adfeb0e378bbb1708b70498a99ec540bccd46146c38f6a22d5bd5956731f

Contents?: true

Size: 698 Bytes

Versions: 20

Compression:

Stored size: 698 Bytes

Contents

# This code fragment downloads Tomcat 8.0.15, configures an instance, and adds a JNDIRealm nested under a LockOutRealm.
class { 'tomcat': }
class { 'java': }

tomcat::instance { 'tomcat8':
  source_url   => 'http://mirror.reverse.net/pub/apache/tomcat/tomcat-8/v8.0.15/bin/apache-tomcat-8.0.15.tar.gz',
  purge_realms => true,
} ->

tomcat::config::server::realm { 'org.apache.catalina.realm.LockOutRealm':
  realm_ensure => 'present',
} ->

tomcat::config::server::realm { 'org.apache.catalina.realm.JNDIRealm':
  realm_ensure          => 'present',
  parent_realm          => 'org.apache.catalina.realm.LockOutRealm',
  additional_attributes => {
    'connectionURL' => 'ldap://localhost'
  },
}

Version data entries

20 entries across 20 versions & 1 rubygems

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