What is the best way to manage a minions master location when the master within SaltStack has a dynamic IP address?

Is there a way to automatically update the minions (master) IP address?

  • 3
    Don't use a dynamic IP address? – ewwhite Nov 18 '13 at 15:40
  • 1
    Well sometimes you dont have a choice – user204088 Nov 21 '13 at 9:36

You can use a hostname in the minion config that is dynamicaly updated each time the ip changes:

master: your_hostname.noip.com

There is a free service like noip to achieve this.


Since this question has been raised salt-ssh appeared on the stage: http://docs.saltstack.com/en/latest/topics/ssh/. It is production ready since release 2014.7.0 (October 2014).

In this situation the master uses SSH to connect to the minions. No need for the master to have a static IP address any more.

You don't even need salt installed on the minion. You only need Python on the minion.

Br, Alexander.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.