enovance/puppet-ceph — pull request #38 by dmsimard (2013-09-09 20:48:25+00:00)
Title: Fixing puppet complaints of unqualified/no path

Under:
- Ubuntu 12.04.3LTS
- Puppet agent 3.2.4-1puppetlabs1
- Puppetmaster 3.1.1-1puppetlabs1

Puppet complains that parted and mkfs.xfs paths aren't specified.
I checked Debian Squeeze, Wheezy, Ubuntu 12.04 - paths are all the same (/sbin/parted, /sbin/mkfs.xfs and /usr/sbin/xfs_admin)

Respectively:
---
Error: Failed to apply catalog: Parameter unless failed on Exec[mktable_gpt_DEVICE]: 'parted --script DEVICE print|grep -sq 'Partition Table: gpt'' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/ceph/manifests/osd/device.pp:32
---
Error: Failed to apply catalog: Validation of Exec[mkfs_DEVICE] failed: 'mkfs.xfs -f -d agcount=2 -l size=1024m -n size=64k /dev/DEVICE1' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/ceph/manifests/osd/device.pp:45
---