|
461 | 461 | # Specifies any idditional Internet media (mime) types that you wish to be configured.
|
462 | 462 | #
|
463 | 463 | class apache (
|
464 |
| - $apache_name = $apache::params::apache_name, |
465 |
| - $service_name = $apache::params::service_name, |
466 |
| - $default_mods = true, |
| 464 | + String $apache_name = $apache::params::apache_name, |
| 465 | + String $service_name = $apache::params::service_name, |
| 466 | + Variant[Array,Boolean] $default_mods = true, |
467 | 467 | Boolean $default_vhost = true,
|
468 |
| - $default_charset = undef, |
| 468 | + Optional[String] $default_charset = undef, |
469 | 469 | Boolean $default_confd_files = true,
|
470 | 470 | Boolean $default_ssl_vhost = false,
|
471 |
| - $default_ssl_cert = $apache::params::default_ssl_cert, |
472 |
| - $default_ssl_key = $apache::params::default_ssl_key, |
473 |
| - $default_ssl_chain = undef, |
474 |
| - $default_ssl_ca = undef, |
475 |
| - $default_ssl_crl_path = undef, |
476 |
| - $default_ssl_crl = undef, |
477 |
| - $default_ssl_crl_check = undef, |
| 471 | + String $default_ssl_cert = $apache::params::default_ssl_cert, |
| 472 | + String $default_ssl_key = $apache::params::default_ssl_key, |
| 473 | + Optional[String] $default_ssl_chain = undef, |
| 474 | + Optional[String] $default_ssl_ca = undef, |
| 475 | + Optional[String] $default_ssl_crl_path = undef, |
| 476 | + Optional[String] $default_ssl_crl = undef, |
| 477 | + Optional[String] $default_ssl_crl_check = undef, |
478 | 478 | Boolean $default_ssl_reload_on_change = false,
|
479 |
| - $default_type = 'none', |
480 |
| - $dev_packages = $apache::params::dev_packages, |
481 |
| - $ip = undef, |
| 479 | + String $default_type = 'none', |
| 480 | + Optional[Variant[Array,String]] $dev_packages = $apache::params::dev_packages, |
| 481 | + Optional[String] $ip = undef, |
482 | 482 | Boolean $service_enable = true,
|
483 | 483 | Boolean $service_manage = true,
|
484 |
| - $service_ensure = 'running', |
485 |
| - $service_restart = undef, |
486 |
| - $purge_configs = true, |
487 |
| - $purge_vhost_dir = undef, |
488 |
| - $purge_vdir = false, |
489 |
| - $serveradmin = 'root@localhost', |
| 484 | + Variant[Boolean,String] $service_ensure = 'running', |
| 485 | + Optional[String] $service_restart = undef, |
| 486 | + Boolean $purge_configs = true, |
| 487 | + Optional[Boolean] $purge_vhost_dir = undef, |
| 488 | + Boolean $purge_vdir = false, |
| 489 | + String $serveradmin = 'root@localhost', |
490 | 490 | Enum['On', 'Off', 'on', 'off'] $sendfile = 'On',
|
491 |
| - $ldap_verify_server_cert = undef, |
492 |
| - $ldap_trusted_mode = undef, |
493 |
| - $error_documents = false, |
494 |
| - $timeout = '60', |
495 |
| - $httpd_dir = $apache::params::httpd_dir, |
496 |
| - $server_root = $apache::params::server_root, |
497 |
| - $conf_dir = $apache::params::conf_dir, |
498 |
| - $confd_dir = $apache::params::confd_dir, |
| 491 | + Optional[Enum['On', 'Off', 'on', 'off']] $ldap_verify_server_cert = undef, |
| 492 | + Optional[String] $ldap_trusted_mode = undef, |
| 493 | + Boolean $error_documents = false, |
| 494 | + String $timeout = '60', |
| 495 | + String $httpd_dir = $apache::params::httpd_dir, |
| 496 | + String $server_root = $apache::params::server_root, |
| 497 | + String $conf_dir = $apache::params::conf_dir, |
| 498 | + String $confd_dir = $apache::params::confd_dir, |
499 | 499 | Enum['Off', 'On', 'Double', 'off', 'on', 'double'] $hostname_lookups = $apache::params::hostname_lookups,
|
500 |
| - $conf_enabled = $apache::params::conf_enabled, |
501 |
| - $vhost_dir = $apache::params::vhost_dir, |
502 |
| - $vhost_enable_dir = $apache::params::vhost_enable_dir, |
503 |
| - $mod_libs = $apache::params::mod_libs, |
504 |
| - $mod_packages = $apache::params::mod_packages, |
505 |
| - $vhost_include_pattern = $apache::params::vhost_include_pattern, |
506 |
| - $mod_dir = $apache::params::mod_dir, |
507 |
| - $mod_enable_dir = $apache::params::mod_enable_dir, |
508 |
| - $mpm_module = $apache::params::mpm_module, |
509 |
| - $lib_path = $apache::params::lib_path, |
510 |
| - $conf_template = $apache::params::conf_template, |
511 |
| - $servername = $apache::params::servername, |
512 |
| - $pidfile = $apache::params::pidfile, |
| 500 | + Optional[String] $conf_enabled = $apache::params::conf_enabled, |
| 501 | + String $vhost_dir = $apache::params::vhost_dir, |
| 502 | + Optional[String] $vhost_enable_dir = $apache::params::vhost_enable_dir, |
| 503 | + Hash $mod_libs = $apache::params::mod_libs, |
| 504 | + Hash $mod_packages = $apache::params::mod_packages, |
| 505 | + String $vhost_include_pattern = $apache::params::vhost_include_pattern, |
| 506 | + String $mod_dir = $apache::params::mod_dir, |
| 507 | + Optional[String] $mod_enable_dir = $apache::params::mod_enable_dir, |
| 508 | + Variant[Boolean,String] $mpm_module = $apache::params::mpm_module, |
| 509 | + String $lib_path = $apache::params::lib_path, |
| 510 | + String $conf_template = $apache::params::conf_template, |
| 511 | + Optional[String] $servername = $apache::params::servername, |
| 512 | + String $pidfile = $apache::params::pidfile, |
513 | 513 | Optional[Stdlib::Absolutepath] $rewrite_lock = undef,
|
514 | 514 | Boolean $manage_user = true,
|
515 | 515 | Boolean $manage_group = true,
|
516 |
| - $user = $apache::params::user, |
517 |
| - $group = $apache::params::group, |
518 |
| - $http_protocol_options = $apache::params::http_protocol_options, |
519 |
| - $supplementary_groups = [], |
520 |
| - $keepalive = $apache::params::keepalive, |
521 |
| - $keepalive_timeout = $apache::params::keepalive_timeout, |
522 |
| - $max_keepalive_requests = $apache::params::max_keepalive_requests, |
523 |
| - $limitreqfieldsize = '8190', |
524 |
| - $limitreqfields = '100', |
525 |
| - $logroot = $apache::params::logroot, |
526 |
| - $logroot_mode = $apache::params::logroot_mode, |
| 516 | + String $user = $apache::params::user, |
| 517 | + String $group = $apache::params::group, |
| 518 | + Optional[String] $http_protocol_options = $apache::params::http_protocol_options, |
| 519 | + Array $supplementary_groups = [], |
| 520 | + String $keepalive = $apache::params::keepalive, |
| 521 | + Variant[Integer,String] $keepalive_timeout = $apache::params::keepalive_timeout, |
| 522 | + Variant[Integer,String] $max_keepalive_requests = $apache::params::max_keepalive_requests, |
| 523 | + String $limitreqfieldsize = '8190', |
| 524 | + String $limitreqfields = '100', |
| 525 | + String $logroot = $apache::params::logroot, |
| 526 | + Optional[String] $logroot_mode = $apache::params::logroot_mode, |
527 | 527 | Apache::LogLevel $log_level = $apache::params::log_level,
|
528 |
| - $log_formats = {}, |
529 |
| - $ssl_file = undef, |
530 |
| - $ports_file = $apache::params::ports_file, |
531 |
| - $docroot = $apache::params::docroot, |
532 |
| - $apache_version = $apache::version::default, |
533 |
| - $server_tokens = 'Prod', |
534 |
| - $server_signature = 'On', |
535 |
| - $trace_enable = 'On', |
| 528 | + Hash $log_formats = {}, |
| 529 | + Optional[String] $ssl_file = undef, |
| 530 | + String $ports_file = $apache::params::ports_file, |
| 531 | + String $docroot = $apache::params::docroot, |
| 532 | + String $apache_version = $apache::version::default, |
| 533 | + String $server_tokens = 'Prod', |
| 534 | + String $server_signature = 'On', |
| 535 | + String $trace_enable = 'On', |
536 | 536 | Optional[Enum['on', 'off', 'nodecode']] $allow_encoded_slashes = undef,
|
537 |
| - $file_e_tag = undef, |
| 537 | + Optional[String] $file_e_tag = undef, |
538 | 538 | Optional[Enum['On', 'on', 'Off', 'off', 'DNS', 'dns']]
|
539 |
| - $use_canonical_name = undef, |
540 |
| - $package_ensure = 'installed', |
541 |
| - Boolean $use_optional_includes = $apache::params::use_optional_includes, |
542 |
| - $use_systemd = $apache::params::use_systemd, |
543 |
| - $mime_types_additional = $apache::params::mime_types_additional, |
544 |
| - $file_mode = $apache::params::file_mode, |
545 |
| - $root_directory_options = $apache::params::root_directory_options, |
546 |
| - Boolean $root_directory_secured = false, |
547 |
| - $error_log = $apache::params::error_log, |
548 |
| - $scriptalias = $apache::params::scriptalias, |
549 |
| - $access_log_file = $apache::params::access_log_file, |
| 539 | + $use_canonical_name = undef, |
| 540 | + String $package_ensure = 'installed', |
| 541 | + Boolean $use_optional_includes = $apache::params::use_optional_includes, |
| 542 | + Boolean $use_systemd = $apache::params::use_systemd, |
| 543 | + Hash $mime_types_additional = $apache::params::mime_types_additional, |
| 544 | + String $file_mode = $apache::params::file_mode, |
| 545 | + Array $root_directory_options = $apache::params::root_directory_options, |
| 546 | + Boolean $root_directory_secured = false, |
| 547 | + String $error_log = $apache::params::error_log, |
| 548 | + String $scriptalias = $apache::params::scriptalias, |
| 549 | + String $access_log_file = $apache::params::access_log_file, |
550 | 550 | Array[Enum['h2', 'h2c', 'http/1.1']] $protocols = [],
|
551 | 551 | Optional[Boolean] $protocols_honor_order = undef,
|
552 | 552 | ) inherits apache::params {
|
|
0 commit comments