Windows Installer Does not Honor Minion Name
I upgraded to Salt 2014.1.3 on my Windows Minions (Windows 7) today (from 2014.1.1). I used the AMD64 installer from: http://docs.saltstack.com/en/latest/topics/installation/windows.html. I tried setting the minion-name two ways: through the command line with the /S option, and through the GUI installer. In either case, the supplied minion name is ignored and defaults to the hostname.
I successfully modified the minion's id by changing \salt\conf\minion_id
I think this is a duplicate of #12167. Basically, we had unix line endings on the config for Windows, so it doesn't read it correctly. You can track the fix (which should be in 2014.1.4) from that issue.
@basepi I just re-checked my minion file. The one generated by the installer (with the unix endings) does not include the supplied master hostname and minion id supplied via the command line / GUI installer. I believe that even if the unix-style line endings for the Windows config file are fixed, there still might be a problem where the master hostname and minion id are not being written to the minion file. IE, the following line appears in the minion configuration file when the master hostname is supplied:
#master: salt
There is also no line for the minion id in the config file, but it looks like this may have been moved to the minion_id file in the same directory. Hope this extra information helps.
Right. The problem was that the find/replace in the installer was broken because of line endings. It's not that it wrote a config with incorrect file endings, but rather that the find and replace broke because of the file endings.
I think this is still fixed, but if you find that it's not with a new install, please comment!