init.pp 865 B

1234567891011121314151617181920212223242526272829303132333435
  1. # A description of what this class does
  2. #
  3. # @summary A short summary of the purpose of this class
  4. #
  5. # @example
  6. # include nginx
  7. class nginx (
  8. String $server_package,
  9. String $server_service,
  10. String $user,
  11. Variant[Enum['auto'], Integer] $worker_processes,
  12. String $pid,
  13. Integer $worker_connections,
  14. Nginx::NginxBool $sendfile,
  15. Nginx::NginxBool $tcp_nopush,
  16. Nginx::NginxBool $tcp_nodelay,
  17. Variant[Integer, String] $keepalive_timeout,
  18. Integer $types_hash_max_size,
  19. String $default_type,
  20. Array[String] $ssl_protocols,
  21. Nginx::NginxBool $ssl_prefer_server_ciphers,
  22. String $access_log,
  23. String $error_log,
  24. Nginx::NginxBool $gzip,
  25. Array[String] $gzip_disable,
  26. ) {
  27. contain 'nginx::install'
  28. contain 'nginx::service'
  29. }