RedHat Compatability
Change-Id: I8c8e4fc1d3d87e3fbbe8e302ee77b189a26896a6
diff --git a/neutron/files/juno/api-paste.ini.RedHat b/neutron/files/juno/api-paste.ini.RedHat
new file mode 120000
index 0000000..08fd76a
--- /dev/null
+++ b/neutron/files/juno/api-paste.ini.RedHat
@@ -0,0 +1 @@
+api-paste.ini.Debian
\ No newline at end of file
diff --git a/neutron/files/juno/neutron-server.conf.contrail.RedHat b/neutron/files/juno/neutron-server.conf.contrail.RedHat
new file mode 120000
index 0000000..bb7b8c7
--- /dev/null
+++ b/neutron/files/juno/neutron-server.conf.contrail.RedHat
@@ -0,0 +1 @@
+neutron-server.conf.contrail.Debian
\ No newline at end of file
diff --git a/neutron/files/kilo/api-paste.ini.RedHat b/neutron/files/kilo/api-paste.ini.RedHat
new file mode 120000
index 0000000..08fd76a
--- /dev/null
+++ b/neutron/files/kilo/api-paste.ini.RedHat
@@ -0,0 +1 @@
+api-paste.ini.Debian
\ No newline at end of file
diff --git a/neutron/files/kilo/neutron-server.conf.contrail.RedHat b/neutron/files/kilo/neutron-server.conf.contrail.RedHat
new file mode 120000
index 0000000..bb7b8c7
--- /dev/null
+++ b/neutron/files/kilo/neutron-server.conf.contrail.RedHat
@@ -0,0 +1 @@
+neutron-server.conf.contrail.Debian
\ No newline at end of file
diff --git a/neutron/files/liberty/api-paste.ini.RedHat b/neutron/files/liberty/api-paste.ini.RedHat
new file mode 120000
index 0000000..08fd76a
--- /dev/null
+++ b/neutron/files/liberty/api-paste.ini.RedHat
@@ -0,0 +1 @@
+api-paste.ini.Debian
\ No newline at end of file
diff --git a/neutron/files/liberty/neutron-server.conf.contrail.RedHat b/neutron/files/liberty/neutron-server.conf.contrail.RedHat
new file mode 120000
index 0000000..bb7b8c7
--- /dev/null
+++ b/neutron/files/liberty/neutron-server.conf.contrail.RedHat
@@ -0,0 +1 @@
+neutron-server.conf.contrail.Debian
\ No newline at end of file
diff --git a/neutron/server.sls b/neutron/server.sls
index 05bbef7..573440f 100644
--- a/neutron/server.sls
+++ b/neutron/server.sls
@@ -41,6 +41,8 @@
- watch:
- file: /etc/neutron/neutron.conf
+{%- if grains.os_family == "Debian" %}
+
/etc/default/neutron-server:
file.managed:
- source: salt://neutron/files/{{ server.version }}/neutron-server
@@ -52,6 +54,8 @@
{%- endif %}
+{%- endif %}
+
neutron_server_services:
service.running:
- names: {{ server.services }}
@@ -59,4 +63,4 @@
- watch:
- file: /etc/neutron/neutron.conf
-{%- endif %}
\ No newline at end of file
+{%- endif %}