|
238 | 238 | # @param ensure
|
239 | 239 | # Specifies if the virtual host is present or absent.<br />
|
240 | 240 | #
|
| 241 | +# @param show_diff |
| 242 | +# Specifies whether to set the show_diff parameter for the file resource. |
| 243 | +# |
241 | 244 | # @param fallbackresource
|
242 | 245 | # Sets the [FallbackResource](https://httpd.apache.org/docs/current/mod/mod_dir.html#fallbackresource)
|
243 | 246 | # directive, which specifies an action to take for any URL that doesn't map to anything in
|
|
1836 | 1839 | Variant[Array[String], String] $setenvifnocase = [],
|
1837 | 1840 | Variant[Array[String], String] $block = [],
|
1838 | 1841 | Enum['absent', 'present'] $ensure = 'present',
|
| 1842 | + Boolean $show_diff = true, |
1839 | 1843 | Optional[String] $wsgi_application_group = undef,
|
1840 | 1844 | Optional[Variant[String, Hash]] $wsgi_daemon_process = undef,
|
1841 | 1845 | Optional[Hash] $wsgi_daemon_process_options = undef,
|
|
2195 | 2199 | }
|
2196 | 2200 |
|
2197 | 2201 | concat { "${priority_real}${filename}.conf":
|
2198 |
| - ensure => $ensure, |
2199 |
| - path => "${apache::vhost_dir}/${priority_real}${filename}.conf", |
2200 |
| - owner => 'root', |
2201 |
| - group => $apache::params::root_group, |
2202 |
| - mode => $apache::file_mode, |
2203 |
| - order => 'numeric', |
2204 |
| - require => Package['httpd'], |
2205 |
| - notify => Class['apache::service'], |
| 2202 | + ensure => $ensure, |
| 2203 | + path => "${apache::vhost_dir}/${priority_real}${filename}.conf", |
| 2204 | + owner => 'root', |
| 2205 | + group => $apache::params::root_group, |
| 2206 | + mode => $apache::file_mode, |
| 2207 | + show_diff => $show_diff, |
| 2208 | + order => 'numeric', |
| 2209 | + require => Package['httpd'], |
| 2210 | + notify => Class['apache::service'], |
2206 | 2211 | }
|
2207 | 2212 | # NOTE(pabelanger): This code is duplicated in ::apache::vhost::custom and
|
2208 | 2213 | # needs to be converted into something generic.
|
|
0 commit comments