Skip to content

salt: Add minion service module #25696

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

Merged
merged 2 commits into from
May 11, 2017
Merged

Conversation

aneeshusa
Copy link
Contributor

Motivation for this change

Add Salt minion module, as mentioned in #25434.

cc @PierreR

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@mention-bot
Copy link

@aneeshusa, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @bjornfor and @offlinehacker to be potential reviewers.

@Mic92
Copy link
Member

Mic92 commented May 11, 2017

minion starts, but it seem like it wants to know its master:

[ERROR   ] DNS lookup or connection check of 'salt' failed.
[ERROR   ] Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds

I suppose this would be usually configured in /var/lib/salt/minion.d/*.conf or /etc/hosts?

@aneeshusa
Copy link
Contributor Author

@Mic92 Yes, the Salt minion tries to connect to a Salt master on startup, using a default hostname of salt. This can be configured as services.salt.minion.configuration.master, like any other Salt minion configuration option. See https://docs.saltstack.com/en/latest/ref/configuration/minion.html.

Verified

This commit was signed with the committer’s verified signature.
fpletz Franz Pletz
@Mic92 Mic92 merged commit ea031fe into NixOS:master May 11, 2017
@aneeshusa
Copy link
Contributor Author

Thanks for taking the time to review this @Mic92!

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

Successfully merging this pull request may close these issues.

None yet

3 participants