Re: [Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Nikola Petrov
Well check the same command (yes) and it's man page yes A | shell-script should give you what you want -- Nikola On Tue, Feb 26, 2013 at 03:37:50PM +0530, Jithin Xavier wrote: > This command "/usr/bin/yes | /usr/bin/java -Xmx256m -jar > /gx/mnt/software/Vidispine/Components/glassfish-installer

Re: [Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Jithin Xavier
This command "/usr/bin/yes | /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar --debug --trace" not giving me any useful information. Glassfish installation is asking for, *Accept or Decline? [A,D,a,d]*.. So we wanted to answer this questio

Re: [Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Nikola Petrov
Please run the command outside of puppet or run puppet with --debug --trace to see what failed. Error status code of 1 can be anything on earth ;) -- Nikola On Tue, Feb 26, 2013 at 02:56:18PM +0530, Jithin Xavier wrote: > Thanks Nikola, > > for some reason its not working.. I am getting

Re: [Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Jithin Xavier
Thanks Nikola, for some reason its not working.. I am getting this error now err: /Stage[main]/Vidispine/Exec[glassfishInstaExe]/returns: change from notrun to 0 failed: /usr/bin/yes | /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar retu

Re: [Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Nikola Petrov
Not sure if this will help you at all but you can try the yes[1] command. Try to change your exec to: exec { 'glassfishInstaExe': command => '/usr/bin/yes | /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar', cwd => '/gx/mnt/softw

[Puppet Users] Glassfish automatic installation in Puppet

2013-02-26 Thread Jithin Xavier
Hi All, Can any one help to install my jar file automatically, When I tried to install /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar,its is asking for confirmation like Accept or Decline? [A,D,a,d]. So how can I pass answer with co