Skip to content

Commit

Permalink
correct concat of args
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Schmid <jschmid@suse.de>
  • Loading branch information
Joshua Schmid committed Apr 26, 2017
1 parent d41aabe commit 76231cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srv/salt/ceph/osd/default.sls
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ include:
{% set fstype = "xfs" %}

{% if dmcrypt %}
{% set base_cmd = base_cmd %}
{% set base_cmd = base_cmd + " --dmcrypt"%}
{% endif %}

{% if bluestore %}
{% set cmd = base_cmd + "--bluestore" + data_and_journal + cluster_ident + cluster_uuid %}
{% set cmd = base_cmd + " --bluestore " + data_and_journal + cluster_ident + cluster_uuid %}
{% else %}
{% set cmd = base_cmd + "--fs-type" + fstype + data_and_journal + cluster_ident + cluster_uuid %}
{% set cmd = base_cmd + " --fs-type " + fstype + data_and_journal + cluster_ident + cluster_uuid %}
{% endif %}

{% for device in salt['pillar.get']('storage:osds') %}
Expand Down

0 comments on commit 76231cd

Please sign in to comment.