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