change sql_dir into maps_dir

This commit is contained in:
Tobias Herre 2023-10-23 11:08:05 +02:00
parent 4635b346e1
commit 2c5c5f1951
1 changed files with 12 additions and 4 deletions

View File

@ -47,6 +47,8 @@ vars:
"postmap_cmd" string => "/usr/sbin/postmap"; "postmap_cmd" string => "/usr/sbin/postmap";
any:: any::
"data_dir" string => "$(db_dir)/postfix"; "data_dir" string => "$(db_dir)/postfix";
"maps_dir" string => "$(cfg_dir)/maps";
users: users:
debian:: debian::
@ -69,6 +71,12 @@ files:
create => "true", create => "true",
perms => m(755); perms => m(755);
"$(maps_dir)/."
create => "true",
perms => m("755");
"$(postfix.db_dir)/." "$(postfix.db_dir)/."
create => "true", create => "true",
perms => mog("755","root","root"), perms => mog("755","root","root"),
@ -172,15 +180,15 @@ vars:
"idx" slist => getindices("file"); "idx" slist => getindices("file");
"sql_dir" string => "$(postfix.cfg_dir)/sql"; "maps_dir" string => "$(postfix.cfg_dir)/maps";
"$(idx)" string => "$(sql_dir)/$(idx).sql"; "$(idx)" string => "$(maps_dir)/$(idx).sql";
files: files:
"$(sql_dir)/." "$(maps_dir)/."
create => "true", create => "true",
perms => m("755"); perms => m("755");
"$(sql_dir)/$(idx).sql" "$(maps_dir)/$(idx).sql"
create=>"true", create=>"true",
perms=>m("644"), perms=>m("644"),
content=>" content=>"