influxdb:
  config: '/etc/influxdb/influxdb.conf'
  conf: {}
  etc_default: '/etc/default/influxdb'
  fullname: 'InfluxDB Service User'
  home: '/opt/influxdb'
  logging:
    directory: '/var/log/influxdb'
    file: 'influxd.log'
  logrotate_conf: '/etc/logrotate.d/influxdb'
  service: 'influxdb'
  shell: '/bin/false'
  system_group: 'influxdb'
  system_user: 'influxdb'
  toml_module: toml
  tmpl:
    config: 'salt://influxdb/files/influxdb.config.jinja'
    etc_default: 'salt://influxdb/files/influxdb.etc_default'
    logrotate: 'salt://influxdb/files/logrotate.conf.jinja'

influxdb:
  config: '/etc/influxdb/influxdb.conf'
  conf: {}
  etc_default: '/etc/default/influxdb'
  fullname: 'InfluxDB Service User'
  home: '/var/lib/influxdb'
  logging:
    directory: '/var/log/influxdb'
    file: 'influxd.log'
  logrotate_conf: '/etc/logrotate.d/influxdb'
  service: 'influxdb'
  shell: '/bin/false'
  system_group: 'influxdb'
  system_user: 'influxdb'
  toml_module: toml
  tmpl:
    config: 'salt://influxdb/files/influxdb.config.jinja'
    etc_default: 'salt://influxdb/files/influxdb.etc_default'
    logrotate: 'salt://influxdb/files/logrotate.conf.jinja'

Switch home directory to DATA_DIR
Switch home directory to DATA_DIR

InfluxDB uses DATA_DIR in their postinst script which defaults to
/var/lib/influxdb.
