Skip to content

Commit 5fedae2

Browse files
jcapiitaodavid-monro-ANU
authored andcommitted
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: Id6e2b70cd1a4472caee324e94a674cfe24cd6a9e
1 parent 6aa52bc commit 5fedae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/wsgi/apache.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
$custom_wsgi_process_options,
322322
)
323323

324-
$wsgi_script_aliases_default = hash([$path_real,"${wsgi_script_dir}/${wsgi_script_file}"])
324+
$wsgi_script_aliases_default = Hash([$path_real,"${wsgi_script_dir}/${wsgi_script_file}"])
325325

326326
if $custom_wsgi_script_aliases {
327327
$wsgi_script_aliases_real = merge($wsgi_script_aliases_default, $custom_wsgi_script_aliases)
@@ -370,7 +370,7 @@
370370
ssl_crl_path => $ssl_crl_path,
371371
ssl_crl => $ssl_crl,
372372
ssl_certs_dir => $ssl_certs_dir,
373-
wsgi_daemon_process => hash([$wsgi_daemon_process, $wsgi_daemon_process_options]),
373+
wsgi_daemon_process => Hash([$wsgi_daemon_process, $wsgi_daemon_process_options]),
374374
wsgi_process_group => $wsgi_process_group,
375375
wsgi_script_aliases => $wsgi_script_aliases_real,
376376
wsgi_application_group => $wsgi_application_group,

0 commit comments

Comments
 (0)