Open mike-ainsworth opened 11 years ago
Try passing in the correct directory
salt-minion -l debug -c c:\salt\conf
On Aug 3, 2013 2:27 PM, "Mike Ainsworth" notifications@github.com wrote:
Good Afternoon, This issue is of minimal importance as according to the docs there are no plans to make the Salt-Master available on windows. I did notice however that there is a Salt-Master.exe in the c:\Salt directory. I ran it from the command line to see what it would do and it immediately fails as it's looking to log something in "c:\Var" instead of what I assume should be "c:\Salt\Var".
I attached a screenshot for all to enjoy.
cheers, -Mike
— Reply to this email directly or view it on GitHub.
gotcha, the clue about the .conf makes sense. There is no default "master" conf file so it defaults to root (c:) and then complains when the directory doesn't exist.
Passing in the suggested command doesn't sort the issue for salt-master (and my minion is working just fine), but explains why salt-master.exe is behaving this way.
Perhaps if I were to assemble a proper master config with a log_file definition I would get a different result.
On Aug 3, 2013, at 2:49 PM, David Boucha notifications@github.com wrote:
Try passing in the correct directory
salt-minion -l debug -c c:\salt\conf
On Aug 3, 2013 2:27 PM, "Mike Ainsworth" notifications@github.com wrote:
Good Afternoon, This issue is of minimal importance as according to the docs there are no plans to make the Salt-Master available on windows. I did notice however that there is a Salt-Master.exe in the c:\Salt directory. I ran it from the command line to see what it would do and it immediately fails as it's looking to log something in "c:\Var" instead of what I assume should be "c:\Salt\Var".
I attached a screenshot for all to enjoy.
cheers, -Mike
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
Ah yes, drop a master config in there. I haven't tried running a master on Windows in a long long time. There are some big blockers. multi processing issues, among others. It would be nice to get it working some day, though On Aug 3, 2013 3:14 PM, "Mike Ainsworth" notifications@github.com wrote:
gotcha, the clue about the .conf makes sense. There is no default "master" conf file so it defaults to root (c:) and then complains when the directory doesn't exist.
Passing in the suggested command doesn't sort the issue for salt-master (and my minion is working just fine), but explains why salt-master.exe is behaving this way.
Perhaps if I were to assemble a proper master config with a log_file definition I would get a different result.
On Aug 3, 2013, at 2:49 PM, David Boucha notifications@github.com wrote:
Try passing in the correct directory
salt-minion -l debug -c c:\salt\conf
On Aug 3, 2013 2:27 PM, "Mike Ainsworth" notifications@github.com wrote:
Good Afternoon, This issue is of minimal importance as according to the docs there are no plans to make the Salt-Master available on windows. I did notice however that there is a Salt-Master.exe in the c:\Salt directory. I ran it from the command line to see what it would do and it immediately fails as it's looking to log something in "c:\Var" instead of what I assume should be "c:\Salt\Var".
I attached a screenshot for all to enjoy.
cheers, -Mike
— Reply to this email directly or view it on GitHub. — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-windows-install/issues/27#issuecomment-22061797 .
Good Afternoon, This issue is of minimal importance as according to the docs there are no plans to make the Salt-Master available on windows. I did notice however that there is a Salt-Master.exe in the c:\Salt directory. I ran it from the command line to see what it would do and it immediately fails as it's looking to log something in "c:\Var" instead of what I assume should be "c:\Salt\Var".
I attached a screenshot for all to enjoy.
cheers, -Mike