Name cleanups
diff --git a/sensu/server.sls b/sensu/server.sls
index ec7c9f5..f5e10e3 100644
--- a/sensu/server.sls
+++ b/sensu/server.sls
@@ -36,7 +36,7 @@
- require:
- pkg: sensu_server_packages
- require_in:
- - file: purge_sensu_conf_dir
+ - file: sensu_conf_dir_clean
- watch_in:
- service: service_sensu_server
- service: service_sensu_api
@@ -58,7 +58,7 @@
- require:
- pkg: sensu_server_packages
- require_in:
- - file: purge_sensu_conf_dir
+ - file: sensu_conf_dir_clean
- watch_in:
- service: service_sensu_server
- service: service_sensu_api
@@ -77,7 +77,7 @@
- file: /etc/sensu/config.json
- pkg: sensu_packages
- require_in:
- - file: purge_sensu_conf_dir
+ - file: sensu_conf_dir_clean
- watch_in:
- service: service_sensu_server
- service: service_sensu_api
@@ -102,7 +102,7 @@
- require:
- file: /etc/sensu
- require_in:
- - file: purge_sensu_conf_dir
+ - file: sensu_conf_dir_clean
- watch_in:
- service: service_sensu_server
- service: service_sensu_api
@@ -115,12 +115,12 @@
- require:
- file: /etc/sensu
- require_in:
- - file: purge_sensu_conf_dir
+ - file: sensu_conf_dir_clean
- watch_in:
- service: service_sensu_server
- service: service_sensu_api
-purge_sensu_conf_dir:
+sensu_conf_dir_clean:
file.directory:
- name: /etc/sensu/conf.d/
- clean: True