You need to either say '/path/to/wget' or give a search path to exec
like 'path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"]'.
Generally speaking I advocate setting a default search path at the top
of your site.pp:
Exec {
path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"],
}
And you won't have to worry about it thereafter.
.r'