Skip to content

Commit

Permalink
Merge pull request #15 from salt-formulas/pr/fix/database_juniper
Browse files Browse the repository at this point in the history
Fix cassandra service (Juniper pkg's)
  • Loading branch information
cznewt authored May 4, 2017
2 parents a3314b2 + c604edf commit 53c019e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion opencontrail/database.sls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- from "opencontrail/map.jinja" import database with context %}
{%- from "opencontrail/map.jinja" import database,common with context %}
{%- if database.enabled %}
include:
Expand Down Expand Up @@ -158,7 +158,12 @@ zookeeper_service:
opencontrail_database_services:
service.running:
- enable: true
{%- if common.vendor == "juniper" %}
- name: contrail-database
{%- else %}
- name: supervisor-database
{%- endif %}
- init_delay: 5
- watch:
- file: {{ database.cassandra_config }}cassandra.yaml
- file: {{ database.cassandra_config }}cassandra-env.sh
Expand Down

0 comments on commit 53c019e

Please sign in to comment.