Hi,

What is the exit code of the script when you run manually? Does it exit with 1?

Cheers,
Den

On 20/05/2011, at 13:58, Sumith Sudhakaran <sumit...@gmail.com> wrote:

> Hi,
> 
> After  configuring  puppet ( 2.6.8 ) in RHEL 5 update 6, I am able to execute 
> commands individually but I am not able  execute the shell script, its giving 
> error only. Somebody please help me how can I execute a shell script in rhel5 
> update6 using puppetserver. hereunder  I am mentioning the manifests format, 
> which i have followed
> 
> exec { "start":
>  command => "/usr/bin/start.sh",
>  logoutput => true,
> }
> 
> Error I am getting:-
> 
> err: /Stage[main]//Exec[start]/
> returns: change from notrun to 0 failed: /usr/bin/start returned 1 instead of 
> one of [0] at /etc/puppet/manifests/site.pp:7
>   
> 
> I am able to execute this script directly.  
> 
> -- 
>   Regards
> 
>  Sumith 
> 
> -- 
> 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.

-- 
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