From 210f216ad8ab6e478c8c7092ed8e8ba15e435feb Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Thu, 16 Apr 2015 01:09:24 +0000
Subject: [PATCH] point the slurmdbd at localhost for mysql rather than
 refering to the hostname. Saves having to configure firewalls and mysql for
 network access. We may later this latter if we want to move the sql server
 somewhere else

---
 roles/slurmdb/templates/slurmdbd.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/slurmdb/templates/slurmdbd.conf.j2 b/roles/slurmdb/templates/slurmdbd.conf.j2
index 2309481c..fb5e8197 100644
--- a/roles/slurmdb/templates/slurmdbd.conf.j2
+++ b/roles/slurmdb/templates/slurmdbd.conf.j2
@@ -36,7 +36,7 @@ PidFile=/var/run/slurmdbd.pid
 #
 # Database info
 StorageType=accounting_storage/mysql
-StorageHost={{ slurmctrl }}
+StorageHost=localhost
 #StoragePort=1234
 StoragePass={{ slurmdb_passwd }}
 StorageUser=slurmdb
-- 
GitLab