diff --git a/bundles/influxdb/files/influxdb.conf b/bundles/influxdb/files/influxdb.conf deleted file mode 100644 index 8c8e130..0000000 --- a/bundles/influxdb/files/influxdb.conf +++ /dev/null @@ -1,40 +0,0 @@ -reporting-disabled = true - -[meta] - dir = "/var/lib/influxdb/meta" - -[data] - dir = "/var/lib/influxdb/data" - wal-dir = "/var/lib/influxdb/wal" - max-values-per-tag = 150000 - -[retention] - enabled = true - check-interval = "30m0s" - -[admin] - enabled = true - bind-address = "127.0.0.1:8083" - https-enabled = false - -[http] - enabled = true - bind-address = ":8086" - log-enabled = true - https-enabled = false - auth-enabled = true - -[[graphite]] - enabled = false - -[[collectd]] - enabled = false - -[[opentsdb]] - enabled = false - -[[udp]] - enabled = false - -[continuous_queries] - enabled = false diff --git a/bundles/influxdb/items.py b/bundles/influxdb/items.py deleted file mode 100644 index 5678837..0000000 --- a/bundles/influxdb/items.py +++ /dev/null @@ -1,18 +0,0 @@ -svc_systemd = { - 'influxdb': { - 'needs': { - 'pkg_apt:influxdb', - }, - }, -} - -files = { - '/etc/influxdb/influxdb.conf': { - 'needs': { - 'pkg_apt:influxdb', - }, - 'triggers': { - 'svc_systemd:influxdb:restart', - }, - }, -} diff --git a/bundles/influxdb/metadata.py b/bundles/influxdb/metadata.py deleted file mode 100644 index d6393f1..0000000 --- a/bundles/influxdb/metadata.py +++ /dev/null @@ -1,36 +0,0 @@ -from bundlewrap.utils.dicts import merge_dict - -defaults = { - 'apt': { - 'packages': { - 'influxdb': {}, - }, - 'repos': { - 'influxdb': { - 'items': { - 'deb https://repos.influxdata.com/{os} {os_release} stable', - }, - }, - }, - }, -} - -if node.has_bundle('zfs'): - defaults = merge_dict(defaults, { - 'apt': { - 'packages': { - 'influxdb': { - 'needs': { - 'zfs_dataset:tank/influxdb', - }, - }, - }, - }, - 'zfs': { - 'datasets': { - 'tank/influxdb': { - 'mountpoint': '/var/lib/influxdb', - }, - }, - }, - })