hi all , i m tring to execute shell script file with puppet. and had logging into machine as non-root .
here is my puppet class. class nodeUpdate { exec {"run_process": command => "/usr/local/runprocess.sh", path => '/usr/bin:/bin:/usr/sbin:/sbin" } } , here "/usr/local/runprocess.sh" shell have some command need to be executed. when i tried to fire puppet as $ sudo puppetd --test --debug , then "/usr/local/runprocess.sh" has some permission issues. some command in this file violate to execute due to permission error. , but i tried to execute this shelll script from terminal..as $ sudo /usr/local/runprocess.sh , then all command in shell file executed sucessfully . what could be the reason? , i didnt get the reason , why permission not granted ? hoping for help!!! regards, Sanjiv Singh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.