On Nov 13, 9:38 pm, "Andrew Shafer" <[EMAIL PROTECTED]> wrote:
> Hmm, what does the ENV say the user is?  Does that user have appropriate
> permissions on the files in the PATH?
>
Here's the ENV dumped from within puppetd running from cron:
warning: LANG = C
warning: HOME = /root
warning: LOGNAME = root
warning: PATH = /usr/bin:/usr/sbin:/sbin:/usr/ops/bin
warning: SHELL = /usr/bin/sh
warning: TZ = US/Pacific

and here is when I run it at the commend line:
warning: DEBIAN_FRONTEND = noninteractive
warning: EDITOR = vi
warning: HOME = /root
warning: HZ =
warning: LANG = C
warning: LC_MESSAGES = en_US.UTF-8
warning: LOGNAME = root
warning: MAIL = /var/mail/root
warning: OLDPWD = /root
warning: PAGER = /usr/bin/cat
warning: PATH = /usr/bin:/usr/sbin:/sbin:/usr/ops/bin
warning: PS1 = [EMAIL PROTECTED] \$
warning: PWD = /usr/ops/lib/ruby/site_ruby/1.8/puppet
warning: SHELL = /bin/bash
warning: SHLVL = 1
warning: TERM = xterm
warning: TZ = US/Pacific
warning: _ = /usr/ops/bin/puppet.sh

So it is root in both cases (as expected).

> The errors mean for some reason the Ruby runtime environment can't access
> those executables.  Not sure why...
>
Can't it be the confines which evaluates to false?

cheers,
/Martin
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to