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 }} ...@@ -190,7 +190,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
# ignore-unnamed = {{ influxdb_graphite_ignore_unnamed }} # ignore-unnamed = {{ influxdb_graphite_ignore_unnamed }}
### ###
{% if influxdb_runtime_version | version_compare('0.11', '<') %} {% if influxdb_runtime_version | version_compare('0.11', '>') %}
### [[collectd]] ### [[collectd]]
{% else %} {% else %}
### [collectd] ### [collectd]
...@@ -199,7 +199,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -199,7 +199,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### Controls the listener for collectd data. ### Controls the listener for collectd data.
### ###
{% if influxdb_runtime_version | version_compare('0.11', '<') %} {% if influxdb_runtime_version | version_compare('0.11', '>') %}
[[collectd]] [[collectd]]
{% else %} {% else %}
[collectd] [collectd]
...@@ -214,7 +214,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -214,7 +214,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
typesdb = "{{ influxdb_collectd_typesdb }}" typesdb = "{{ influxdb_collectd_typesdb }}"
### ###
{% if influxdb_runtime_version | version_compare('0.11', '<') %} {% if influxdb_runtime_version | version_compare('0.11', '>') %}
### [[opentsdb]] ### [[opentsdb]]
{% else %} {% else %}
### [opentsdb] ### [opentsdb]
...@@ -223,7 +223,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -223,7 +223,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
### Controls the listener for OpenTSDB data. ### Controls the listener for OpenTSDB data.
### ###
{% if influxdb_runtime_version | version_compare('0.11', '<') %} {% if influxdb_runtime_version | version_compare('0.11', '>') %}
[[opentsdb]] [[opentsdb]]
{% else %} {% else %}
[opentsdb] [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