Closed batgranny closed 2 years ago
Hi,
I'm running the saltstack formula and I'm getting the following error:
---------- ID: alcali-config-migrate-db-provision-cmd-run Function: cmd.run Name: ./manage.py migrate Result: False Comment: Command "./manage.py migrate" run Started: 11:47:34.647293 Duration: 104.964 ms Changes: ---------- pid: 7518 retcode: 1 stderr: File "./manage.py", line 16 ) from exc ^ SyntaxError: invalid syntax
should from exc be from exec?
also I found another issue in clean.sls:
alcali-package-clean-git-latest-file-absent: file.absent: -name: {{ alcali.deploy.directory }}/code alcali-package-clean-virtualenv-absent: file.absent: -name: {{ alcali.deploy.directory }}/.venv
The -name lines were causing an issue. I think it should be:
alcali-package-clean-git-latest-file-absent: file.absent: - name: {{ alcali.deploy.directory }}/code alcali-package-clean-virtualenv-absent: file.absent: - name: {{ alcali.deploy.directory }}/.venv
Al leat it worked when I did it that way.
please open an issue in the alcali formula repository : https://github.com/saltstack-formulas/alcali-formula
Hi,
I'm running the saltstack formula and I'm getting the following error:
should from exc be from exec?
also I found another issue in clean.sls:
The -name lines were causing an issue. I think it should be:
Al leat it worked when I did it that way.