Skip to content

Commit 439ce39

Browse files
committed
Replace stdlib hash function by the built-in Puppet one
The upstream patch [1] removed the hash stdlib function which was deprecated since a while. We should now use the Puppet built-in function Hash(). [1] puppetlabs/puppetlabs-stdlib#1320 Change-Id: Id562cf4aa8cae94ae537ff239fac946884940082
1 parent 12738b1 commit 439ce39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/wsgi/apache.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@
272272
ssl_key => $ssl_key,
273273
ssl_ca => $ssl_ca,
274274
ssl_verify_client => $ssl_verify_client,
275-
wsgi_script_aliases => hash([$script_url, $::horizon::params::django_wsgi]),
275+
wsgi_script_aliases => Hash([$script_url, $::horizon::params::django_wsgi]),
276276
wsgi_import_script => $::horizon::params::django_wsgi,
277277
wsgi_process_group => $::horizon::params::wsgi_group,
278278
wsgi_application_group => $::horizon::params::wsgi_application_group,
@@ -294,7 +294,7 @@
294294
$default_vhost_conf,
295295
$extra_params,
296296
{
297-
wsgi_daemon_process => hash([$::horizon::params::wsgi_group, $wsgi_daemon_process_options])
297+
wsgi_daemon_process => Hash([$::horizon::params::wsgi_group, $wsgi_daemon_process_options])
298298
},
299299
{
300300
redirectmatch_regexp => $redirectmatch_regexp_real,
@@ -308,7 +308,7 @@
308308
$default_vhost_conf,
309309
$ssl_extra_params_real,
310310
{
311-
wsgi_daemon_process => hash(['horizon-ssl', $wsgi_daemon_process_options]),
311+
wsgi_daemon_process => Hash(['horizon-ssl', $wsgi_daemon_process_options]),
312312
},
313313
{
314314
access_log_file => $ssl_access_log_file,

0 commit comments

Comments
 (0)