From 7a5f120860a33ebae2562d16b37bc048a8d7f2ae Mon Sep 17 00:00:00 2001
From: CVL-GitHub <jupiter.hu@monash.edu>
Date: Mon, 20 Jul 2015 10:23:38 +1000
Subject: [PATCH] add nhc email subject variable

---
 roles/slurm-from-source/templates/nhc.sysconfig.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/slurm-from-source/templates/nhc.sysconfig.j2 b/roles/slurm-from-source/templates/nhc.sysconfig.j2
index 5e3d1eb0..c27ac0e1 100644
--- a/roles/slurm-from-source/templates/nhc.sysconfig.j2
+++ b/roles/slurm-from-source/templates/nhc.sysconfig.j2
@@ -6,7 +6,7 @@ LOGFILE=/var/log/nhc.log
 LOG_LEVEL={{ nhc_log_level }}
 CONFFILE="{{ nhc_dir }}/etc/nhc/{{ nhc_config_file }}"
 NHC_EMAIL_TO= {{ nhc_emails }}
-NHC_EMAIL_SUBJECT="Node failure"
+NHC_EMAIL_SUBJECT= {{ nhc_email_subject }}
 NHC_LOOP_TIME="300"
 
 
-- 
GitLab