Skip to content

Commit

Permalink
Merge pull request #480 from jormaster3k/master
Browse files Browse the repository at this point in the history
Replace deprecated `shell_escape` function with `stdlib::shell_escape`
  • Loading branch information
traylenator authored Jul 29, 2024
2 parents 057f5e9 + 9343596 commit 7e2e187
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
contain systemd::install

if $default_target {
$target = shell_escape($default_target)
$target = stdlib::shell_escape($default_target)
service { $target:
ensure => 'running',
enable => true,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 8.5.0 < 10.0.0"
"version_requirement": ">= 9.0.0 < 10.0.0"
},
{
"name": "puppetlabs/inifile",
Expand Down

0 comments on commit 7e2e187

Please sign in to comment.