Fix resource definitions for packages.
Related story: PROD-24674
Change-Id: I8b470f9fce916d99a703f8bd3e4b2d1bf19ea6a0
diff --git a/etcd/server/service.sls b/etcd/server/service.sls
index b7ade9e..f95cee2 100644
--- a/etcd/server/service.sls
+++ b/etcd/server/service.sls
@@ -15,8 +15,6 @@
{% else %}
-{% if server.get('source', {}).get('engine') == 'docker_hybrid' %}
-
{%- if grains.os_family == 'RedHat' %}
etcd_enable_epel:
pkg.installed:
@@ -50,6 +48,8 @@
{%- endif %}
+{% if server.get('source', {}).get('engine') == 'docker_hybrid' %}
+
/tmp/etcd:
file.directory:
- user: root