From 46b680d2eb974b478de9123c9d5715bbe20d77ef Mon Sep 17 00:00:00 2001 From: Julian Date: Wed, 21 Oct 2020 18:06:19 +0200 Subject: [PATCH] puppet-bolt: Add post-install script for tarball of gems (#1497) --- bucket/puppet-bolt.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bucket/puppet-bolt.json b/bucket/puppet-bolt.json index 3ead3f056f..e0d8fd0509 100644 --- a/bucket/puppet-bolt.json +++ b/bucket/puppet-bolt.json @@ -9,6 +9,12 @@ "hash": "019ccb2238bd39144c9204541a156723f2e7750e369568a4597b028b114fd6c4" } }, + "post_install": [ + "if (Test-Path \"$dir\\share\\install-tarballs\\ruby*.tgz\") {", + " Write-Host -F yellow \"Extract tarball of gems...\"", + " Expand-7zipArchive \"$dir\\share\\install-tarballs\\ruby*.tgz\" \"$dir\"", + "}" + ], "extract_dir": "Puppet Labs\\Bolt", "bin": "bin\\bolt.bat", "checkver": {