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 1, 2023
1 parent c60d2aa commit b964220
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions pkg/windows/prep_salt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,14 @@ if ( Test-Path -Path $PREREQ_DIR ) {
# Staging the Build Environment
#-------------------------------------------------------------------------------

if ( $PKG ) {
Write-Host "Copying config files from Salt: " -NoNewline
New-Item -Path $BUILD_CONF_DIR -ItemType Directory | Out-Null
Copy-Item -Path "$PROJECT_DIR\conf\minion" -Destination "$BUILD_CONF_DIR"
if ( Test-Path -Path "$BUILD_CONF_DIR\minion" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Result "Failed" -ForegroundColor Red
exit 1
}
Write-Host "Copying config files from Salt: " -NoNewline
New-Item -Path $BUILD_CONF_DIR -ItemType Directory | Out-Null
Copy-Item -Path "$PROJECT_DIR\conf\minion" -Destination "$BUILD_CONF_DIR"
if ( Test-Path -Path "$BUILD_CONF_DIR\minion" ) {
Write-Result "Success" -ForegroundColor Green
} else {
Write-Result "Failed" -ForegroundColor Red
exit 1
}

if ( $PKG ) {
Expand Down
2 changes: 1 addition & 1 deletion tools/pkg.py
Original file line number Diff line number Diff line change
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 b964220

Please sign in to comment.