Ensure custom paths are created and have correct permissions
diff --git a/influxdb/map.jinja b/influxdb/map.jinja
index d2d4a89..2c61594 100644
--- a/influxdb/map.jinja
+++ b/influxdb/map.jinja
@@ -3,6 +3,8 @@
   pkgs:
   - influxdb
   service: influxdb
+  service_user: influxdb
+  service_group: influxdb
   container_mode: false
   prefix_dir: /
   reporting_disabled: true
diff --git a/influxdb/server.sls b/influxdb/server.sls
index fb5bcf5..972dd28 100644
--- a/influxdb/server.sls
+++ b/influxdb/server.sls
@@ -35,6 +35,27 @@
     - pkg: influxdb_packages
 {%- endif %}
 
+{{server.data.dir}}:
+  file.directory:
+    - makedirs: True
+    - mode: 755
+    - user: {{ server.service_user }}
+    - group: {{ server.service_group }}
+
+{{server.data.wal_dir}}:
+  file.directory:
+    - makedirs: True
+    - mode: 755
+    - user: {{ server.service_user }}
+    - group: {{ server.service_group }}
+
+{{server.meta.dir}}:
+  file.directory:
+    - makedirs: True
+    - mode: 755
+    - user: {{ server.service_user }}
+    - group: {{ server.service_group }}
+
 influxdb_service:
   service.running:
   - enable: true