saltstack-formulas / alcali-formula

Saltstack formula to install Alcali: a web based tool(GUI) for monitoring and administrating Saltstack Salt.
https://alcali.dev
MIT License
11 stars 20 forks source link

postgresql option not working. confirmed this made it operational #15

Open ITJamie opened 2 years ago

ITJamie commented 2 years ago

"Rendering SLS 'base:alcali.package.install' failed: Jinja variable 'db_requirements' is undefined" error from salt when db_backend was set to anything other than mysql

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

postgresql option was not working. breaking it out into its own if statement worked. Previous error

saltdirector:
    Data failed to compile:
----------
    Rendering SLS 'base:alcali.package.install' failed: Jinja variable 'db_requirements' is undefined

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

with these changes the install completed

Documentation checklist

Testing checklist

Additional context