mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove batch files, since we're using the exe files
This commit is contained in:
parent
1de7c34de7
commit
8ef9b100c4
12 changed files with 3 additions and 113 deletions
|
@ -42,15 +42,9 @@ Write-Host $("-" * 80)
|
|||
# Make sure we're not in a virtual environment
|
||||
#-------------------------------------------------------------------------------
|
||||
if ( $env:VIRTUAL_ENV ) {
|
||||
Write-Host "Deactivating virtual environment: "
|
||||
& deactivate
|
||||
Write-Host $env:VIRTUAL_ENV
|
||||
if ( $env:VIRTUAL_ENV ) {
|
||||
Write-Host "Failed" -ForegroundColor Red
|
||||
exit 1
|
||||
} else {
|
||||
Write-Host "Success" -ForegroundColor Green
|
||||
}
|
||||
# I've tried deactivating from the script, but it doesn't work
|
||||
Write-Host "Please deactive the virtual environment"
|
||||
exit
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Api
|
||||
:: Accepts all parameters that Salt-Api accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-api.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Minion
|
||||
:: Accepts all parameters that Salt-Minion Accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-call.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Minion
|
||||
:: Accepts all parameters that Salt-Minion Accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-cp.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for invoking salt-key
|
||||
:: Accepts all parameters that salt-key accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-key.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Master
|
||||
:: Accepts all parameters that Salt-Master accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-master.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,14 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Minion
|
||||
:: Accepts all parameters that Salt-Minion Accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-minion.exe
|
||||
|
||||
:: Stop the Salt Minion service
|
||||
net stop salt-minion
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" -l debug
|
|
@ -1,2 +0,0 @@
|
|||
:: Start the Salt Minion service
|
||||
net start salt-minion
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt-Minion
|
||||
:: Accepts all parameters that Salt-Minion Accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-minion.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for invoking salt-run
|
||||
:: Accepts all parameters that salt-run accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt-run.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
|
@ -1,11 +0,0 @@
|
|||
@ echo off
|
||||
:: Script for starting the Salt CLI
|
||||
:: Accepts all parameters that Salt CLI accepts
|
||||
|
||||
:: Define Variables
|
||||
Set SaltDir=%~dp0
|
||||
Set SaltDir=%SaltDir:~0,-1%
|
||||
Set Binary=%SaltDir%\bin\Scripts\salt.exe
|
||||
|
||||
:: Launch binary
|
||||
"%Binary%" %*
|
Binary file not shown.
Before Width: | Height: | Size: 137 KiB |
Loading…
Add table
Reference in a new issue