On Thursday, October 10, 2013 4:34:59 AM UTC-5, Sans wrote:
>
> Dear all,
>
> I'm seeing this strange thing: When I run "*puppet agent -td*" on the 
> node (Nagios, in this example case), puppet fails to install Nagios3 (on 
> Debian) with this:
> [...]
> But if I run the same command (well, without '-y') on the node, it works 
> just fine. 
>
>
I don't think you've demonstrated that it does run fine from the command 
line.  It appears to me that the error reported by Puppet would not 
manifest on the command line until after the point where your transcript 
cuts off.

Anyway, if a command succeeds when run from the command line but fails when 
executed by Puppet then the usual problem is a difference in execution 
environment, typically in the environment variables.  Puppet intentionally 
provides a very sparse environment to external commands it executes.  Your 
case is unusual in that the command seems to mostly work.  Could it be that 
you need a proxy server configured for FTP, but not for HTTP?


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to