Puppet Defined Type: instance

Defined in:
manifests/instance.pp

Overview

concat server.xml 00 - init xml 05 - server tag 06 - listeners 10 - globalnaming 11 - userdb 11 - resource pools 15 - end globalnaming 20 - connectors 21 - engine 22 - realms - combined realm and optionally userdatabase wiht lockoutrealm 23 - **other realms** 24 - end realms 25 - host 26 - context 27 - end host 30 - end engine - end service 99 - end server

concat tomcat-users.xml 00 - header 44 - roles 55 - users 99 - end tag

nota: ssl client certificates: virgo47.wordpress.com/2010/08/23/tomcat-web-application-with-ssl-client-certificates/

puppet2sitepp @tomcatinstances

Parameter Summary

  • tomcatpw (Any) => 'password' -

    instance's password

  • catalina_base (Any) => "/opt/${name}" -

    where to deploy this tomcat instance (default: /opt/)

  • pid_file (Any) => "/var/run/${name}.pid"
  • instancename (Any) => $name
  • pwdigest (Any) => 'sha'
  • tomcat_user (Any) => $tomcat::params::default_tomcat_user
  • server_info (Any) => '.'
  • server_number (Any) => '.'
  • server_built (Any) => 'Long long ago'
  • xmx (Any) => '512m'
  • xms (Any) => '512m'
  • maxpermsize (Any) => '512m'
  • permsize (Any) => undef
  • shutdown_port (Any) => '8005'
  • shutdown_address (Any) => '127.0.0.1'
  • ajp_port (Any) => undef
  • connector_ajp_packet_size (Any) => undef
  • connector_ajp_max_threads (Any) => undef
  • connector_ajp_connection_timeout (Any) => undef
  • connector_ajp_max_post_size (Any) => undef
  • connector_ajp_redirect_port (Any) => undef
  • connector_https_enabled (Any) => false
  • connector_https_port (Any) => '8443'
  • connector_https_server (Any) => undef
  • connector_https_max_header_size (Any) => undef
  • connector_https_client_auth (Any) => undef
  • connector_https_max_threads (Any) => undef
  • connector_https_min_spare_threads (Any) => undef
  • connector_https_max_spare_threads (Any) => undef
  • connector_https_keystore (Any) => undef
  • connector_https_keystore_pass (Any) => ''
  • connector_https_keystore_version (Any) => ''
  • connector_https_thruststore (Any) => undef
  • connector_https_thruststore_pass (Any) => ''
  • connector_https_thruststore_version (Any) => ''
  • connector_https_sslprotocol (Any) => 'TLS'
  • connector_https_accept_count (Any) => undef
  • connector_https_connection_timeout (Any) => undef
  • connector_https_max_post_size (Any) => undef
  • connector_https_unsafe_legacy_reneg (Any) => false -

    allow unsed legacy renegotation for TLS connections - HTTPS connector (default: false)

  • connector_http_enabled (Any) => true
  • connector_http_server (Any) => undef
  • connector_port (Any) => '8080'
  • connector_http_max_header_size (Any) => undef
  • connector_http_max_threads (Any) => undef
  • connector_http_min_spare_threads (Any) => undef
  • connector_http_max_spare_threads (Any) => undef
  • connector_http_enable_lookups (Any) => false
  • connector_http_accept_count (Any) => undef
  • connector_http_connection_timeout (Any) => '20000'
  • connector_http_disable_upload_timeout (Any) => true
  • connector_http_uri_encoding (Any) => undef
  • connector_http_max_post_size (Any) => undef
  • jmx_port (Any) => '8999'
  • redirect_port (Any) => '8443'
  • realms (Any) => undef
  • values (Any) => undef
  • max_threads (Any) => '150'
  • min_spare_threads (Any) => '4'
  • lockoutrealm (Any) => true
  • userdatabase (Any) => true
  • extra_vars (Any) => undef
  • system_properties (Any) => undef
  • rmi_server_hostname (Any) => undef
  • catalina_rotate (Any) => '15'
  • catalina_size (Any) => '100M'
  • catalina_logrotate_ensure (Any) => 'present'
  • heapdump_oom_dir (Any) => undef
  • install_tomcat_manager (Any) => true
  • shutdown_command (Any) => hiera('eyptomcat::shutdowncommand', 'Ap9g9mS1usPl9u')
  • java_library_path (Any) => undef
  • java_home (Any) => undef
  • webapps_owner (Any) => $tomcat::params::default_tomcat_user
  • webapps_group (Any) => $tomcat::params::default_tomcat_user
  • webapps_mode (Any) => '0775' -

    webapps dir mode (default: 0775)

  • webapps_mode_recursive (Any) => false -

    whether webapps dir mode is recursive or not (default: false)

  • ensure (Any) => 'running'
  • manage_service (Any) => true
  • manage_docker_service (Any) => true
  • enable (Any) => true
  • xml_validation (Any) => undef
  • xml_namespace_aware (Any) => undef
  • jvm_route (Any) => undef
  • version_logger_listener (Any) => true
  • jasper_listener (Any) => true
  • security_listener (Any) => false -

    load org.apache.catalina.security.SecurityListener (default: false)

  • enable_default_access_log (Any) => true
  • custom_webxml (Any) => false
  • add_error_report_valve_settings (Any) => true
  • error_report_valve_show_report (Any) => false
  • error_report_valve_show_server_info (Any) => false
  • error_report_valve_class (Any) => 'org.apache.catalina.valves.ErrorReportValve'
  • user_language (Any) => undef
  • user_region (Any) => undef
  • user_country (Any) => undef
  • user_variant (Any) => undef
  • file_encoding (Any) => undef
  • sun_jnu_encoding (Any) => undef
  • file_encoding_pkg (Any) => undef
  • umask (Any) => undef
  • xmn (Any) => undef
  • xmns (Any) => undef
  • xmnx (Any) => undef
  • use_concurrent_mark_sweep (Any) => true
  • use_parallel_gc (Any) => false
  • cms_initiating_occupancy_fraction (Any) => undef
  • use_cms_initiating_occupancy_only (Any) => false
  • cms_scavenge_before_remark (Any) => false
  • cms_parallel_remark_enabled (Any) => false
  • print_tenuring_distribution (Any) => false
  • disable_explicit_gc (Any) => false
  • max_gc_pause_millis (Any) => undef
  • print_gc (Any) => false
  • print_gc_details (Any) => false
  • print_gc_datestamps (Any) => false
  • print_gc_application_stopped_time (Any) => false
  • print_gc_file (Any) => undef
  • jvm_error_file (Any) => undef
  • catalina_stop_options (Any) => 'stop'
  • config_files_mode (Any) => '0644'
  • log_pattern (Any) => '%h %l %u %t "%r" %s %b'
  • log_directory (Any) => 'logs'
  • log_prefix (Any) => 'localhost_access_log.'
  • log_suffix (Any) => '.txt'
  • log_resolve_hosts (Any) => false
  • debug (Any) => false
  • runjdwp_dt_socket_address (Any) => undef
  • runjdwp_dt_socket_server (Any) => true
  • runjdwp_dt_socket_suspend (Any) => false
  • java_awt_headless (Any) => true
  • java_security_egd (Any) => undef
  • server (Any) => false
  • start_stop_threads (Any) => undef
  • notify_initscript_actions_to (Any) => undef
  • use_par_new_gc (Any) => false
  • max_tenuring_threshold (Any) => undef
  • survivor_ratio (Any) => undef
  • unlock_diagnostic_vm_options (Any) => false
  • par_gc_cards_per_stride_chunk (Any) => undef
  • bind_gc_task_threads_to_cpus (Any) => false
  • use_gc_task_affinity (Any) => false
  • always_pre_touch (Any) => false
  • scavenge_before_full_gc (Any) => false
  • agressive_opts (Any) => false
  • use_biased_locking (Any) => false
  • print_gc_cause (Any) => false
  • target_survivor_ratio (Any) => undef
  • parallel_gc_threads (Any) => undef
  • jvm_prefer_ip4_stack (Any) => false
  • http_max_connections (Any) => undef
  • catalina_disable_http_keepalive (Any) => false
  • rmi_port (Any) => undef
  • connector_ajp_accept_count (Any) => undef
  • connector_ajp_acceptor_threadcount (Any) => undef
  • unlock_commercial_features (Any) => false
  • flight_recorder (Any) => false
  • debug_non_safepoints (Any) => false
  • print_string_table_statistics (Any) => false
  • conf_dir_mode (Any) => '0755' -

    instance's config directory mode (default: 0755)

  • logs_dir_mode (Any) => '0755' -

    log dir mode: (default: 0755)

  • temp_dir_mode (Any) => '0755' -

    temp dir mode: (default: 0755)

  • bin_dir_mode (Any) => '0755' -

    bin dir mode: (default: 0755)

  • audit_log_config_changes (Any) => false
  • audit_log_webapps_changes (Any) => false
  • audit_log_webapps_changes_tag (Any) => 'webappsChange'