Skip to content

Commit 8996ede

Browse files
author
Jory Osterptak
committed
#1346 - Update deprecated shell_escape function
For stdlib 9.x and later, the shell_escape function has been moved to stdlib::shell_escape. This change breaks compatiblity with stdlib 8.x
1 parent 057f5e9 commit 8996ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
contain systemd::install
285285

286286
if $default_target {
287-
$target = shell_escape($default_target)
287+
$target = stdlib::shell_escape($default_target)
288288
service { $target:
289289
ensure => 'running',
290290
enable => true,

0 commit comments

Comments
 (0)