Merge branch 'feature/monitoring' into 'master'
remove names
See merge request !7
diff --git a/sensu/client.sls b/sensu/client.sls
index 47cecfe..65bec97 100644
--- a/sensu/client.sls
+++ b/sensu/client.sls
@@ -37,7 +37,7 @@
sensu_monitoring_os_packages:
pkg.installed:
- - names: monitoring-for-openstack
+ - name: monitoring-for-openstack
{%- endif %}
diff --git a/sensu/server.sls b/sensu/server.sls
index 9721d21..6ea9e73 100644
--- a/sensu/server.sls
+++ b/sensu/server.sls
@@ -6,19 +6,19 @@
sensu_server_packages:
pkg.installed:
- - names: {{ server.pkgs }}
+ - name: {{ server.pkgs }}
- require_in:
- file: /etc/sensu
-sensu_server_pip:
- pip.installed:
- - names: sensu
+sensu_server_pkg:
+ pkg.installed:
+ - name: sensu
- require:
- pkg: sensu_server_packages
purge_sensu_conf_dir:
file.directory:
- - names: /etc/sensu/conf.d/
+ - name: /etc/sensu/conf.d/
- clean: True
{%- if server.mine_checks %}