Skip to content
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

ncm-postfix: Fix wrapping and indentation in pan #1770

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ncm-postfix/src/main/pan/components/postfix/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ prefix '/software/components/postfix';
'dispatch' ?= true;
'dependencies/pre' ?= list('spma');

'/software/packages' = pkg_repl('ncm-postfix','${no-snapshot-version}-${rpm.release}','noarch');
'/software/packages' = pkg_repl('ncm-postfix', '${no-snapshot-version}-${rpm.release}', 'noarch');
10 changes: 5 additions & 5 deletions ncm-postfix/src/main/pan/components/postfix/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ include 'quattor/types/component';
@{
Types of lookup tables (databases) Postfix is capable to handle.
}
type postfix_lookup_type_string = string with
match (SELF, "^(btree|cdb|cidr|dbm|environ|fail|hash|internal|ldap" +
"|memcache|mysql|netinfo|nis|nisplus|pcre|pgsql|proxy|regexp" +
"|sdbm|socketmap|sqlite|static|tcp|texthash|unix)$") ||
error ("Wrong Postfix lookup type. See http://www.postfix.org/DATABASE_README.html for details");
type postfix_lookup_type_string = string with match(SELF,
"^(btree|cdb|cidr|dbm|environ|fail|hash|internal|ldap" +
"|memcache|mysql|netinfo|nis|nisplus|pcre|pgsql|proxy|regexp" +
"|sdbm|socketmap|sqlite|static|tcp|texthash|unix)$"
) || error("Wrong Postfix lookup type. See http://www.postfix.org/DATABASE_README.html for details");

@{
Definition of a lookup in Postfix
Expand Down