Fix minor typo in ceph-disk params.

Change-Id: I39c6f52c11d37e180c60ee009e2b7a50f553f9e1
This commit is contained in:
Dan Williams 2018-12-28 21:45:56 +00:00
parent c6292183b5
commit b817404aed
2 changed files with 3 additions and 3 deletions

View File

@ -89,10 +89,10 @@ define ceph::osd (
if ($bluestore_wal) or ($bluestore_db) {
if $bluestore_wal {
$wal_opts = "--block-wal $(readlink -f ${bluestore_wal})"
$wal_opts = "--block.wal $(readlink -f ${bluestore_wal})"
}
if $bluestore_db {
$block_opts = "--block-db $(readlink -f ${bluestore_db})"
$block_opts = "--block.db $(readlink -f ${bluestore_db})"
}
$journal_opts = "${wal_opts} ${block_opts}"

View File

@ -140,7 +140,7 @@ if ! test -b $disk ; then
chown -h ceph:ceph $disk
fi
fi
ceph-disk prepare --bluestore --cluster testcluster --cluster-uuid f39ace04-f967-4c3d-9fd2-32af2d2d2cd5 $(readlink -f /srv/data) --block-wal $(readlink -f /srv/wal) --block-db $(readlink -f /srv/db)
ceph-disk prepare --bluestore --cluster testcluster --cluster-uuid f39ace04-f967-4c3d-9fd2-32af2d2d2cd5 $(readlink -f /srv/data) --block.wal $(readlink -f /srv/wal) --block.db $(readlink -f /srv/db)
udevadm settle
",
'unless' => "/bin/true # comment to satisfy puppet syntax requirements