forked from saltstack/salt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-dev…
…elop Conflicts: salt/modules/cmdmod.py salt/modules/debian_ip.py salt/modules/drac.py salt/modules/rpm.py salt/returners/postgres_local_cache.py
- Loading branch information
Showing
25 changed files
with
431 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
@ echo off | ||
:: Define Variables | ||
@ echo Defining Variables... | ||
Set "CurrDir=%cd%" | ||
Set "BinDir=%cd%\buildenv\bin" | ||
Set "InsDir=%cd%\installer" | ||
Set "PyDir=C:\Python27" | ||
|
||
:: Find the NSIS Installer | ||
If Exist "C:\Program Files\NSIS\" ( | ||
Set NSIS="C:\Program Files\NSIS\" | ||
) Else ( | ||
Set NSIS="C:\Program Files (x86)\NSIS\" | ||
) | ||
Set "PATH=%NSIS%;%PATH%" | ||
|
||
@ echo Copying C:\Python27 to bin... | ||
:: Check for existing bin directory and remove | ||
If Exist "%BinDir%\" rd "%BinDir%" /S /Q | ||
|
||
:: Copy the Python27 directory to bin | ||
xcopy /S /E %PyDir% %CurrDir%\buildenv\bin\ | ||
|
||
@ echo Cleaning up unused files and directories... | ||
:: Remove all Compiled Python files (.pyc) | ||
del /S /Q %BinDir%\*.pyc | ||
|
||
:: Delete Unused Docs and Modules | ||
rd /S /Q %BinDir%\Doc | ||
rd /S /Q %BinDir%\share | ||
rd /S /Q %BinDir%\tcl | ||
rd /S /Q %BinDir%\Lib\idlelib | ||
rd /S /Q %BinDir%\Lib\lib-tk | ||
rd /S /Q %BinDir%\Lib\test | ||
rd /S /Q %BinDir%\Lib\unit-test | ||
|
||
:: Delete Unused .dll files | ||
del /S /Q %BinDir%\DLLs\tcl85.dll | ||
del /S /Q %BinDir%\DLLs\tclpip85.dll | ||
del /S /Q %BinDir%\DLLs\tk85.dll | ||
|
||
:: Delete .txt files | ||
del /q %BinDir%\NEWS.txt | ||
del /q %BinDir%\README.txt | ||
|
||
@ echo Building the installer... | ||
makensis.exe "%InsDir%\Salt-Minion-Setup.nsi | ||
|
||
@ echo. | ||
@ echo Script completed... | ||
@ echo Installation file can be found in the following directory: | ||
@ echo %InsDir% | ||
pause | ||
cls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
net stop salt-minion | ||
.\bin\python.exe .\bin\Scripts\salt-minion -l debug -c C:\salt\conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
net start salt-minion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.