nodes: Check PUPPETDB_API, not _EXPERIMENTAL.

This commit is contained in:
Daniele Sluijters
2013-10-14 12:51:45 +02:00
parent f85f0fa864
commit a75b08f882

View File

@@ -20,7 +20,7 @@
<tr> <tr>
<th>Hostname</th> <th>Hostname</th>
<th>Catalog compiled at</th> <th>Catalog compiled at</th>
{% if config.PUPPETDB_EXPERIMENTAL %} {% if config.PUPPETDB_API > 2 %}
<th>Last report</th> <th>Last report</th>
<th>&nbsp;</th> <th>&nbsp;</th>
{% endif %} {% endif %}
@@ -31,7 +31,7 @@
<tr> <tr>
<td><a href="{{url_for('node', node_name=node.name)}}">{{node.name}}</a></td> <td><a href="{{url_for('node', node_name=node.name)}}">{{node.name}}</a></td>
<td rel="utctimestamp">{{node.catalog_timestamp}}</td> <td rel="utctimestamp">{{node.catalog_timestamp}}</td>
{% if config.PUPPETDB_EXPERIMENTAL %} {% if config.PUPPETDB_API > 2 %}
<td> <td>
{% if node.report_timestamp %} {% if node.report_timestamp %}
<span rel="utctimestamp">{{ node.report_timestamp }}</span> <span rel="utctimestamp">{{ node.report_timestamp }}</span>