ScoopInstaller_Main/bucket/puppet-bolt.json
2021-05-17 20:00:21 +00:00

33 lines
1.2 KiB
JSON

{
"version": "3.8.1",
"description": "Orchestration and agentless IT automation",
"homepage": "https://puppet.com/open-source/bolt",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://downloads.puppetlabs.com/windows/puppet6/puppet-bolt-3.8.1-x64.msi",
"hash": "3fe3f4f83c1a236f9fb062f17e0c7a091ffd49a20fd3ae83e73eb1a38b8a4ebe"
}
},
"extract_dir": "Puppet Labs\\Bolt",
"pre_install": "Set-Content \"$dir\\bolt.bat\" '@ECHO OFF', 'SETLOCAL', 'SET GEM_HOME=','SET GEM_PATH=', '%~dp0bin\\bolt.bat %*' -Encoding Ascii",
"post_install": [
"if (Test-Path \"$dir\\share\\install-tarballs\\ruby*.tgz\") {",
" info 'Extract tarball of gems...'",
" Expand-7zipArchive \"$dir\\share\\install-tarballs\\ruby*.tgz\" \"$dir\" -Removal",
"}"
],
"bin": "bolt.bat",
"checkver": {
"url": "https://downloads.puppetlabs.com/windows/puppet6/index_by_lastModified_reverse.html",
"regex": "puppet-bolt-([\\d.]+)-x64\\.msi"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://downloads.puppetlabs.com/windows/puppet6/puppet-bolt-$version-x64.msi"
}
}
}
}