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

Upcased minion names will not launch salt calls correctly. #102

Open
tek0011 opened this issue Jan 21, 2025 · 0 comments
Open

Upcased minion names will not launch salt calls correctly. #102

tek0011 opened this issue Jan 21, 2025 · 0 comments

Comments

@tek0011
Copy link

tek0011 commented Jan 21, 2025

Due to https://github.com/theforeman/smart_proxy_salt/blob/master/lib/smart_proxy_salt/salt_runner.rb#L50

The proxy will only handle names of minions as they are in foreman. This means any minions with upcasing anywhere, shortname or domain, will fail to run any sort of remote execution, because the salt master will not see them as a valid minion. Ideally the way to handle this would be to have a grain/fact that gathers the minion id and uses it to send the salt-call to.

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

1 participant