SUSE (SLES)#

These instructions explain how to install Salt on AR operating systems:

Note

Salt packages for SUSE are hosted on the SUSE package repository. SUSE creates its own Salt packages and the Salt Project does not publish separate Salt packages for download.

Before you start#

Before installing Salt on your operating system, ensure that you first:

Install Salt on SUSE#

Salt is packaged separately for the minion and the master. You only need to install the appropriate package for the machine’s role. Typically, there will be one master and multiple minions.

  1. Run the following command:

    zypper install salt-master
    zypper install salt-minion
    
  2. To start the master service:

    systemctl start salt-master.service
    

    Alternatively, to start the master service at boot time:

    systemctl enable salt-master.service
    
    rcsalt-master start
    

    Alternatively, to start the master service at boot time:

    chkconfig salt-master on
    
  3. To start the minion service:

    systemctl start salt-minion.service
    

    Alternatively, to start the minion service at boot time:

    systemctl enable salt-minion.service
    
    chkconfig salt-minion on
    

    Alternatively, to start the minion service at boot time:

    rcsalt-minion start
    

    Note

    When you install a onedir version of Salt (3006 and later), Salt installs its own local version of Python and the dependencies needed for the core functionality of Salt.

    After installing a onedir verison of Salt, your system has both a global version of Python at the system level and a local version of Python used by Salt. This architecture change means that the Salt onedir paths for Python are different and you need to change how you install third-party Python dependencies that you use with Salt, including your state files. See Install dependencies for more information.

After installing Salt on your operating system, you need to complete the following post-installation steps: