-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flags for traditional install #125
Comments
I was able to use the flags ROOTDIR and CONFDIR to keep the install in c:\salt but the ID and Master are not populating correctly. I found them by looking in the MSI debug log working example script , master and minion id don't get set$HOSTNAME=[Environment]::MachineName
} |
@gee456, to install the Salt Minion into C:\salt you only need to specify two properties:
You can of course combine with more properties like I am sorry that you had to read the MSI install log to figure that out, I just opened a PR that adds the above to the documentation. When I install a test Minion using
the result is as expected
Could you please repeat your test and, if your @twangboy before we can automatically test INSTALLDIR and ROOTDIR, we need to branch for paths in test.ps1 |
You may need to update the Service Definition as well to make sure it is pointing to the config in the correct location. |
@twangboy , the service definition is using Line 442 in 838a354
...or do I miss your point? |
I am using the following flags and the configuration is being placed in
C:\ProgramData\Salt Project\Salt
I want the flags to install just like the previous client all in c:\salt
$DataStamp = get-date -Format yyyyMMddTHHmmss
$logFile = 'c:\windows\temp\salt-minion-3004-install-{0}-{1}.log' -f $file.fullname,$DataStamp
$msi="Salt-Minion-3004-Py3-AMD64.msi "
The text was updated successfully, but these errors were encountered: