Adaptions for CentOS

This commit is contained in:
Tobias Herre 2023-10-28 01:10:53 +02:00
parent 54cb28122a
commit 21acb0f5d6
1 changed files with 18 additions and 1 deletions

View File

@ -8,7 +8,7 @@ classes:
"sympa_b";
vars:
debian&sympa_b::
debian::
"lib_dir" string => "/usr/lib/sympa";
"var_lib_dir" string => "/var/lib/sympa";
"share_dir" string => "/usr/share/sympa";
@ -23,6 +23,23 @@ vars:
"sympa"
};
centos::
"lib_dir" string => "/usr/lib/sympa";
"var_lib_dir" string => "/var/lib/sympa";
"share_dir" string => "/usr/share/sympa";
"conf_dir" string => "/etc/sympa";
"sympa_conf" string => "$(conf_dir)/sympa/sympa.conf";
"service_name" string => "sympa";
"wwservice_name" string => "wwsympa";
"wwsympa_socket" string => "/var/run/sympa/wwsympa.socket";
"sympa_pl_cmd" string => "/usr/bin/sympa";
"pkgs" slist => {
"sympa"
};
debian&sympa_s::
"install_dir" string => "/usr/local/sympa";