From e2fc0433de38c322ce46ad250bc0f0f03e7710c8 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Thu, 24 Oct 2024 06:43:08 -0400 Subject: add icinga --- scripts/hostclass/ttrss_server | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/hostclass/ttrss_server') diff --git a/scripts/hostclass/ttrss_server b/scripts/hostclass/ttrss_server index 1a2104a..fc6fffd 100644 --- a/scripts/hostclass/ttrss_server +++ b/scripts/hostclass/ttrss_server @@ -8,6 +8,7 @@ : ${ttrss_admin_role:='ttrss-admin'} : ${ttrss_mail_from:="ttrss-noreply@${email_domain}"} +ttrss_dn="uid=${ttrss_username},${robots_basedn}" ttrss_https_cert="${nginx_conf_dir}/ttrss.crt" ttrss_https_key="${nginx_conf_dir}/ttrss.key" ttrss_repo='https://git.tt-rss.org/fox/tt-rss.git/' @@ -49,7 +50,11 @@ pkg install -y \ php${php_version}-zip # Create ttrss principal and keytab. -add_principal -nokey -x "containerdn=${robots_basedn}" "$ttrss_username" +ldap_add "$ttrss_dn" <