saltstack / salt-winrepo

Salt Windows Software Package Manager Repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MSI problems

belawaeckerlig opened this issue · comments

Hi,
it seems like Salt 0.17.4 has som problems installing packages on Windows Server 2012 R2 with MSI.

I performed the following steps:
salt-run winrepo.update_git_repos
salt-run winrepo.genrepo
salt '' pkg.refresh_db
salt '
' pkg.install 7zip
here the minion responses nothing.
On the minion i saw that the 7zip installer was downloaded, but 7zip was not installed.
I have to restart the minion service on the Windows Server to get him work again.

I tried some more packages and it seems that all packages using MSI have the same problem.
The packages not using MSI work fine.

When i'm trying to do an unattended install of the packages on the Windows Server directly via the cmd and the flags of the sls files it worked...

With kind regards,
todesregen

i looked in the log file and it seemes that salt put a None at the end of the install command

2014-01-20 13:00:01,058 [salt.loaded.int.module.cmdmod][INFO ] Executing command 'msiexec /i "c:\salt\var\cache\salt\minion\extrn_files\base\hivelocity.dl.sourceforge.net\project\sevenzip\7-Zip\9.20\7z920-x64.msi" /q None' in directory 'C:\Windows\system32\config\systemprofile'

This issue is still valid. I downgraded the client to v0.17.2 and it worked (No appending of None to the install command)

yes, but there is already a bug open becauses of this issue at saltstack/salt#9696
I'm sorry, i should have linked it before.