puppetlabs/rspec-system — pull request #39 by hunner (2013-07-24 19:38:18+00:00)
Title: Fix for sudo's secure path

On many systems sudo is configured with `secure_path` which will block or munge the processing of `$PATH` on execution. For example, sudoing from the vagrant user on CentOS 5.9 causes `/sbin` (and others) to be absent from `$PATH` and commands like `service` and `chkconfig` are missing without explicit pathing.