Skip to content

Commit

Permalink
fix(adoptium): use string for command to run on older puppet versions
Browse files Browse the repository at this point in the history
  • Loading branch information
knotekt committed Aug 14, 2024
1 parent ee210a5 commit 1fec10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/adoptium.pp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}
}

$install_adoptium = ['tar', '-zxf', $destination, '-C', $_basedir]
$install_adoptium = "tar -zxf '${destination}' -C '${_basedir}'"

exec { "Install Adoptium Temurin java ${version_major} ${version_minor} ${version_patch} ${version_build}" :
path => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin',
Expand Down

0 comments on commit 1fec10e

Please sign in to comment.