LinuxΒΆ

perform the installation steps from the addresses.

  • With a text editor (vi, vim, nano etc.) type the hostname or IP address of the SambaBox system in the master line in the /etc/salt/minion file and remove the β€œ#”” character at the beginning of the line. Thus, the salt-minion master line will be active and the salt-minion will try to connect to the entered hostname or IP address.

##### Primary configuration settings #####
##########################################
# This configuration file is used to manage the behavior of the Salt Minion.
# With the exception of the location of the Salt Master Server, values that are
# commented out but have an empty line after the comment are defaults that need
# not be set in the config. If there is no blank line after the comment, the
# value is presented as an example and is not the default.

# Per default the minion will automatically include all config files
# from minion.d/*.conf (minion.d is a directory in the same directory
# as the main minion config file).
#default_include: minion.d/*.conf

# Set the location of the salt master server. If the master server cannot be
# resolved, then the minion will fail to start.
master: sambabox01.sambabox.io
  • Finally add salt-minion to the start and reboot.

# systemctl enable salt-minion
# systemctl restart salt-minion