This is the first step to get rid of the errors found in unit tests
with Puppet 8, and fixes some undefined variables found in ceph::osd.
This also fixes a few redundant spaces appearing in commands.
Change-Id: I52b26701e77af44e8fb80106a6d1b6dbd34f133d