Skip to content
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

Give clearer error message when top.sls is not found #1232

Closed
herlo opened this issue May 9, 2012 · 5 comments
Closed

Give clearer error message when top.sls is not found #1232

herlo opened this issue May 9, 2012 · 5 comments
Milestone

Comments

@herlo
Copy link
Contributor

herlo commented May 9, 2012

When running state.highstate, I would get the following error message. I had my salt state in the incorrect place, but maybe it would be good to state where salt is looking for states as I couldn't tell I had it incorrect.

salt '*' state.highstate
roman.gooselinux.org:
----------
    State: - no
    Name:      states
    Function:  None
        Result:    False
        Comment:   No states found for this minion
        Changes:  
@thatch45
Copy link
Member

thatch45 commented May 9, 2012

Yes, this has come up a few times, I will look into it

@jhutchins
Copy link
Contributor

59e0e85 should satisfy this request

@herlo
Copy link
Contributor Author

herlo commented May 11, 2012

I really don't think that commit solves the issue. I like the code you wrote there, but I think the comment should say something like 'top.sls not found'.

@jhutchins
Copy link
Contributor

I reworked the wording at 078472e so it clearly says top.sls not found AND tells you where it thought it should be. Hopefully this gives people enough information to know what's wrong and how to fix it.

@thatch45
Copy link
Member

I think this solves the issue, if you disagree @herlo please re-open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants