Commit 67169ec8 authored by Dawn Chen's avatar Dawn Chen

Merge pull request #6719 from litian54/master

Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minio...
parents 29e4d6c9 36ef7862
......@@ -28,7 +28,7 @@ nginx:
- group: root
- mode: 644
{% if grains.cloud in ['gce'] %}
{% if grains.cloud is defined and grains.cloud in ['gce'] %}
/etc/kubernetes/manifests/nginx.json:
file:
- managed
......
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