Arnau Bria wrote:

> err: Could not retrieve catalog: Failed to execute generator
> /usr/local/sbin/randomnum: Execution of '/usr/local/sbin/randomnum
> td006.pic.es 60' returned 1:  at
> /etc/puppet/manifests/modules/local_conf/manifests/init.pp:72 on node
> td006.pic.es
> 
> but if I run it by hand:
> 
> # /usr/local/sbin/randomnum td006.pic.es 60 58[r...@td006 ~]# echo $?
>  0
> 
> Could someone explainme why randomnum is returning 1 when it runs 
> insiede puppet?

If randomnum is a shell script, perhaps a missing PATH entry in it, or
some other difference between puppet's PATH and root's?

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- ren...@tntech.edu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to