From a75b08f882835734eaa894f5405fcd9c4ad6bdfa Mon Sep 17 00:00:00 2001 From: Daniele Sluijters Date: Mon, 14 Oct 2013 12:51:45 +0200 Subject: [PATCH] nodes: Check PUPPETDB_API, not _EXPERIMENTAL. --- puppetboard/templates/nodes.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puppetboard/templates/nodes.html b/puppetboard/templates/nodes.html index ad8a990..9d483a7 100644 --- a/puppetboard/templates/nodes.html +++ b/puppetboard/templates/nodes.html @@ -20,7 +20,7 @@ Hostname Catalog compiled at - {% if config.PUPPETDB_EXPERIMENTAL %} + {% if config.PUPPETDB_API > 2 %} Last report   {% endif %} @@ -31,7 +31,7 @@ {{node.name}} {{node.catalog_timestamp}} - {% if config.PUPPETDB_EXPERIMENTAL %} + {% if config.PUPPETDB_API > 2 %} {% if node.report_timestamp %} {{ node.report_timestamp }}