0

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?

user204088
  • 147
  • 4

2 Answers2

2

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.

pincoded
  • 359
  • 2
  • 9
1

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.

ahus1
  • 557
  • 4
  • 12