Commit 488dc041 authored by vaikas-google's avatar vaikas-google

Merge pull request #51 from bmelville/master

Fixing jinja template for redis to allow for no properties.
parents 9d1a5d8c c7af9ab1
{% set REDIS_PORT = 6379 %}
{% set WORKERS = properties['workers'] or 2 %}
{% set WORKERS = properties['workers'] if properties and properties['workers'] else 2 %}
resources:
- name: redis-master
......
......@@ -4,4 +4,3 @@ imports:
resources:
- name: redis
type: redis.jinja
properties: null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment