From d058565b3f56bbb9a43987c9ece4894dcf7ecff1 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 1 Nov 2016 23:00:07 +0000 Subject: [PATCH] Apply krb5 no_canonicalize on all stg buildvms Signed-off-by: Patrick Uiterwijk --- roles/base/templates/krb5.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/templates/krb5.conf.j2 b/roles/base/templates/krb5.conf.j2 index 39769c01d1..54c52a27f2 100644 --- a/roles/base/templates/krb5.conf.j2 +++ b/roles/base/templates/krb5.conf.j2 @@ -9,7 +9,7 @@ {% else %} default_realm = STG.FEDORAPROJECT.ORG {% endif %} -{% if inventory_hostname.startswith('buildvm-05.stg') %} +{% if inventory_hostname.startswith('buildvm') and env=="staging" %} dns_canonicalize_hostname = false {% endif %} dns_lookup_realm = false