Re: [Puppet Users] custom script execution and sending output back to master

2014-09-05 Thread kaustubh chaudhari
Cool!!! Thanks for that Felix. It did what i was looking for. The only catch was formatting of the file is messed, but i did some scripting on the master server and fixed it. Thanks for your help . more i work with puppet.. more i fell in love with it!!! With Warm Regards Kaustubh.A.Chaudh

Re: [Puppet Users] custom script execution and sending output back to master

2014-09-02 Thread Felix Frank
On 09/02/2014 02:45 PM, kaustubh chaudhari wrote: > Hey, > > Thanks for the reply. I tried what you suggested. > > Sorry i am not a programmer, trying to find my way through. > > I am looking for a best way to achieve this. > > run a script on nodes user.sh which will create a file user.out, all i

Re: [Puppet Users] custom script execution and sending output back to master

2014-09-02 Thread kaustubh chaudhari
Hey, Thanks for the reply. I tried what you suggested. Sorry i am not a programmer, trying to find my way through. I am looking for a best way to achieve this. run a script on nodes user.sh which will create a file user.out, all i am looking for getting this user.out file back to the puppet mas

Re: [Puppet Users] custom script execution and sending output back to master

2014-08-27 Thread Felix Frank
On 08/27/2014 02:06 PM, kaustubh chaudhari wrote: > Thanks for the reply Felix, > > I was wondering if we can get the output of a executable custom fact to > a specific-seperate file instead of standard servername.yml file ? > > > > With Warm Regards > Kaustubh.A.Chaudhari Hi, I'm at a loss t

Re: [Puppet Users] custom script execution and sending output back to master

2014-08-27 Thread kaustubh chaudhari
Thanks for the reply Felix, I was wondering if we can get the output of a executable custom fact to a specific-seperate file instead of standard servername.yml file ? With Warm Regards Kaustubh.A.Chaudhari (M)-09373102619 On Mon, Aug 25, 2014 at 5:46 PM, Felix Frank < felix.fr...@alumni.tu-be

Re: [Puppet Users] custom script execution and sending output back to master

2014-08-25 Thread Felix Frank
On 08/21/2014 04:25 PM, kaustubh chaudhari wrote: > > I want puppet agent to send this file or the output of the command # > cat /etc/issue to the master? > > Is this possible, if yes can some one suggest or redirect me to some > docs that i can refer too. That requirement is practically the verba

[Puppet Users] custom script execution and sending output back to master

2014-08-21 Thread kaustubh chaudhari
Hi All, I am looking to run a shell script on the agent, i know there are many ways to to do that through manifests, customfacts etc. What i want is, how to send output of this shell script or a file that is created by shell script back to master. eg: i am running below script == #!bin/bash c