Skip to content

Commit

Permalink
Add back ssm.exe. It is needed for VMtools
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Mar 2, 2023
1 parent c60d2aa commit 9bf1571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/windows/prep_salt.ps1
Expand Up @@ -153,7 +153,8 @@ if ( $PKG ) {
}
}

if ( $PKG ) {
# Make sure ssm.exe is present. This is needed for VMtools
if ( ! (Test-Path -Path "$BUILD_DIR\ssm.exe") ) {
Write-Host "Copying SSM to Root: " -NoNewline
Invoke-WebRequest -Uri "$SALT_DEP_URL/ssm-2.24-103-gdee49fc.exe" -OutFile "$BUILD_DIR\ssm.exe"
if ( Test-Path -Path "$BUILD_DIR\ssm.exe" ) {
Expand Down
2 changes: 1 addition & 1 deletion tools/pkg.py
Expand Up @@ -223,7 +223,7 @@ def set_salt_version(
)
def pre_archive_cleanup(ctx: Context, cleanup_path: str, pkg: bool = False):
"""
Clean the provided path of paths that shouyld not be included in the archive.
Clean the provided path of paths that should not be included in the archive.
For example:
Expand Down

0 comments on commit 9bf1571

Please sign in to comment.