Issue #1810 has been reported by [EMAIL PROTECTED]
----------------------------------------
Bug #1810: ifonly doesn't report a problem if executable not in path
http://projects.reductivelabs.com/issues/show/1810
Author: [EMAIL PROTECTED]
Status: Unreviewed
Priority: Low
Assigned to:
Category:
Target version:
Complexity: Unknown
Affected version: 0.24.6
Keywords:
exec { "tar -zxf ../$dist":
cwd => "/opt/foot",
creates => "/opt/foot/lib",
require => Exec["get-foot"],
path => "/bin",
onlyif => "nc -z $dns 1000",
before => Exec["createsymlink"],
}
The tar never runs because 'nc' is in /usr/bin and not /bin, but no error is
raised that nc is not found.
Adding "/usr/bin" to path works fine. However I think this should raise an
error flag, especially when running in the client in debug.
----------------------------------------
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---