-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Jinja variable 'default_database_type' is undefined local #118
Comments
mattboston
added a commit
to mattboston/postfix-formula
that referenced
this issue
Feb 1, 2021
Fix for bug saltstack-formulas#118 where calling postfix.config throws an error: Jinja variable 'default_database_type' is undefined
alxwr
added a commit
to alxwr/postfix-formula
that referenced
this issue
Apr 19, 2021
19 tasks
19 tasks
saltstack-formulas-travis
pushed a commit
that referenced
this issue
Jan 25, 2022
## [2.0.1](v2.0.0...v2.0.1) (2022-01-25) ### Bug Fixes * **config:** set default_database_type; fixes [#118](#118) ([3bd3d1c](3bd3d1c)) ### Code Refactoring * **config:** add `default_database_type` as default value ([6da70d2](6da70d2)) ### Continuous Integration * **3003.1:** update inc. AlmaLinux, Rocky & `rst-lint` [skip ci] ([3284d38](3284d38)) * **gemfile+lock:** use `ssf` customised `inspec` repo [skip ci] ([cfed974](cfed974)) * **kitchen:** move `provisioner` block & update `run_command` [skip ci] ([31a3836](31a3836)) * **kitchen+ci:** update with `3004` pre-salted images/boxes [skip ci] ([dec042a](dec042a)) * **kitchen+ci:** update with latest `3003.2` pre-salted images [skip ci] ([9688f36](9688f36)) * **kitchen+ci:** update with latest CVE pre-salted images [skip ci] ([76134b4](76134b4)) * add `arch-master` to matrix and update `.travis.yml` [skip ci] ([c631eca](c631eca)) * add Debian 11 Bullseye & update `yamllint` configuration [skip ci] ([c11c07d](c11c07d)) * **kitchen+gitlab:** adjust matrix to add `3003` [skip ci] ([04564a7](04564a7)) * **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] ([d56006f](d56006f)) ### Tests * standardise use of `share` suite & `_mapdata` state [skip ci] ([4c394a7](4c394a7))
🎉 This issue has been resolved in version 2.0.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your setup
Formula commit hash / release tag
postfix-formula: 42afb34 refs/tags/v1.2.2
Versions reports (master & minion)
Pillar / config used
Bug details
Describe the bug
I'm getting the following error when postfix.config is called
Steps to reproduce the bug
It looks like the config.sls needs code similar to line 44 in init.sls
{%- set default_database_type = salt['pillar.get']('postfix:config:default_database_type', 'hash') %}
The text was updated successfully, but these errors were encountered: