SUSE / DeepSea

A collection of Salt files for deploying, managing and automating Ceph.
GNU General Public License v3.0
161 stars 75 forks source link

[SES5] cephfs: fix pool creation prerequisite #1751

Closed jan--f closed 5 years ago

jan--f commented 5 years ago

With unless the state is executed when one condition returns false. For example it'll try to create the cephfs_data pool if the pool is present but the cephfs instance is not yet. Negating the condition and using onlyif yields the expected behaviour.

Signed-off-by: Jan Fajerski jfajerski@suse.com (cherry picked from commit 8667b12adbd66a773e29cc7c59e97e496a586b05)

Backport for #1750