Commit f7c1f127 authored by Kostas Botsas's avatar Kostas Botsas
Browse files

reversed versioning for collectd-opentsdb

Double/single brackets should be the other way around for versions greater than 0.11
parent bbbc0591
......@@ -190,7 +190,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
# ignore-unnamed = {{ influxdb_graphite_ignore_unnamed }}
###
{% if influxdb_runtime_version | version_compare('0.11', '<') %}
{% if influxdb_runtime_version | version_compare('0.11', '>') %}
### [[collectd]]
{% else %}
### [collectd]
......@@ -199,7 +199,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### Controls the listener for collectd data.
###
{% if influxdb_runtime_version | version_compare('0.11', '<') %}
{% if influxdb_runtime_version | version_compare('0.11', '>') %}
[[collectd]]
{% else %}
[collectd]
......@@ -214,7 +214,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
typesdb = "{{ influxdb_collectd_typesdb }}"
###
{% if influxdb_runtime_version | version_compare('0.11', '<') %}
{% if influxdb_runtime_version | version_compare('0.11', '>') %}
### [[opentsdb]]
{% else %}
### [opentsdb]
......@@ -223,7 +223,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### Controls the listener for OpenTSDB data.
###
{% if influxdb_runtime_version | version_compare('0.11', '<') %}
{% if influxdb_runtime_version | version_compare('0.11', '>') %}
[[opentsdb]]
{% else %}
[opentsdb]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment