|
49 | 49 | Variant[Stdlib::Absolutepath, Boolean] $client_body_temp_path = $nginx::params::client_body_temp_path, |
50 | 50 | Boolean $confd_only = false, |
51 | 51 | Boolean $confd_purge = false, |
52 | | - $conf_dir = $nginx::params::conf_dir, |
| 52 | + Stdlib::Absolutepath $conf_dir = $nginx::params::conf_dir, |
53 | 53 | Optional[Enum['on', 'off']] $daemon = undef, |
54 | | - $daemon_user = $nginx::params::daemon_user, |
55 | | - $daemon_group = undef, |
| 54 | + String[1] $daemon_user = $nginx::params::daemon_user, |
| 55 | + Optional[String[1]] $daemon_group = undef, |
56 | 56 | Array[String] $dynamic_modules = [], |
57 | | - $global_owner = $nginx::params::global_owner, |
58 | | - $global_group = $nginx::params::global_group, |
59 | | - $global_mode = $nginx::params::global_mode, |
| 57 | + String[1] $global_owner = $nginx::params::global_owner, |
| 58 | + String[1] $global_group = $nginx::params::global_group, |
| 59 | + Stdlib::Filemode $global_mode = $nginx::params::global_mode, |
60 | 60 | Optional[Variant[String[1], Array[String[1]]]] $limit_req_zone = undef, |
61 | 61 | Stdlib::Absolutepath $log_dir = $nginx::params::log_dir, |
62 | 62 | String[1] $log_user = $nginx::params::log_user, |
|
66 | 66 | $http_format_log = undef, |
67 | 67 | Variant[String, Array[String]] $nginx_error_log = "${log_dir}/${nginx::params::nginx_error_log_file}", |
68 | 68 | Nginx::ErrorLogSeverity $nginx_error_log_severity = 'error', |
69 | | - $pid = $nginx::params::pid, |
| 69 | + Variant[Stdlib::Absolutepath, Boolean] $pid = $nginx::params::pid, |
70 | 70 | Variant[Stdlib::Absolutepath, Boolean] $proxy_temp_path = $nginx::params::proxy_temp_path, |
71 | | - $root_group = $nginx::params::root_group, |
72 | | - $run_dir = $nginx::params::run_dir, |
| 71 | + String[1] $root_group = $nginx::params::root_group, |
| 72 | + Stdlib::Absolutepath $run_dir = $nginx::params::run_dir, |
73 | 73 | $sites_available_owner = $nginx::params::sites_available_owner, |
74 | 74 | $sites_available_group = $nginx::params::sites_available_group, |
75 | 75 | $sites_available_mode = $nginx::params::sites_available_mode, |
76 | 76 | Boolean $super_user = $nginx::params::super_user, |
77 | | - $temp_dir = $nginx::params::temp_dir, |
| 77 | + Stdlib::Absolutepath $temp_dir = $nginx::params::temp_dir, |
78 | 78 | Boolean $server_purge = false, |
79 | 79 | Boolean $include_modules_enabled = $nginx::params::include_modules_enabled, |
80 | 80 |
|
81 | 81 | # Primary Templates |
82 | | - $conf_template = 'nginx/conf.d/nginx.conf.erb', |
| 82 | + String[1] $conf_template = 'nginx/conf.d/nginx.conf.erb', |
83 | 83 |
|
84 | 84 | ### START Nginx Configuration ### |
85 | 85 | Optional[Enum['on', 'off']] $absolute_redirect = undef, |
|
0 commit comments