Page MenuHomeDevCentral

Create required Salt directories in saltmaster role
Closed, ResolvedPublic

Description

As the /opt/salt directories aren't created, this happens:

----------
          ID: deploy_account_ownership
    Function: cmd.run
        Name: chown -R salt /opt/salt/staging /opt/salt/private/staging
      Result: False
     Comment: Command "chown -R salt /opt/salt/staging /opt/salt/private/staging" run
     Started: 07:00:25.858532
    Duration: 5.2 ms
     Changes:
              ----------
              pid:
                  51430
              retcode:
                  1
              stderr:
                  chown: /opt/salt/staging: No such file or directory
                  chown: /opt/salt/private/staging: No such file or directory
              stdout: