Puppet: System Administration Automated

Support

Ticket #634 (new defect)

Opened 2 years ago

Last modified 9 months ago

Exec checks don't work when binaries aren't in the path

Reported by: luke Assigned to: luke
Priority: normal Milestone: elmo
Component: exec Version:
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description

When binaries needed for checks aren't in a specified path, the checks still pass:

exec { "/bin/echo crap":    path => "/usr/local/bin",
    onlyif => "echo just checking"
}

That should fail if there's no 'echo' in /usr/local/bin, but instead it passes.

Change History

04/24/08 06:54:59 changed by luke

  • component changed from library to exec.