Re: [Puppet Users] Not able to execute shell script

2011-05-31 Thread Felix Frank
If that is the whole content of you "shell script" it's missing the shebang line. """ #!/bin/sh chmod 777 /root/testfile """ You're still missing a PATH variable, so this script is still a mess. You should write a proper test script. HTH, Felix On 05/20/2011 10:36 AM, Sumith Sudhakaran wrote:

Re: [Puppet Users] Not able to execute shell script

2011-05-20 Thread Peter Bukowinski
On Thursday, May 19, 2011 at 11:58 PM, Sumith Sudhakaran 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 scrip

Re: [Puppet Users] Not able to execute shell script

2011-05-20 Thread Sumith Sudhakaran
Thanks for your reply No, I just create a shell for testing with following content. chmod 777 /root/testfile Nothing else. On Fri, May 20, 2011 at 1:00 PM, Denmat wrote: > Hi, > > What is the exit code of the script when you run manually? Does it exit > with 1? > > Cheers, > Den > > > On 20

Re: [Puppet Users] Not able to execute shell script

2011-05-20 Thread Sumith Sudhakaran
Thanks for your replay No, I just create a shell for testing with following content. chmod 777 /root/testfile Nothing else . On Fri, May 20, 2011 at 1:00 PM, Denmat wrote: > Hi, > > What is the exit code of the script when you run manually? Does it exit > with 1? > > Cheers, > Den > > > On 2

Re: [Puppet Users] Not able to execute shell script

2011-05-20 Thread Denmat
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 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 she

[Puppet Users] Not able to execute shell script

2011-05-19 Thread Sumith Sudhakaran
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 m