|
Jithin Xavier |
at Feb 26, 2013 at 10:07 am
|
⇧ |
| |
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 question.
is there anyway to answer for this through command line?
Thanks,
Jithin
On Tue, Feb 26, 2013 at 3:01 PM, Nikola Petrov wrote: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 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
returned 1 instead of one of [0] at
/etc/puppetlabs/puppet/modules/vidispine/manifests/init.pp:17.
Thanks,
Jithin
On Tue, Feb 26, 2013 at 2:04 PM, Nikola Petrov wrote:
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/software/Vidispine/Components',
}
[1]
http://en.wikipedia.org/wiki/Yes_(Unix)--
Nikola
On Tue, Feb 26, 2013 at 12:22:18AM -0800, Jithin Xavier wrote:
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 command.
Please find my puppet code below
exec { 'glassfishInstaExe':
command => "/usr/bin/java -Xmx256m -jar
/gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar",
cwd => "/gx/mnt/software/Vidispine/Components",
}
Thanks,
Jxavier
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it,
send
an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at
http://groups.google.com/group/puppet-users?hl=en.--
You received this message because you are subscribed to the Google
Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an
--
-Regards
Jithin Xavier
+91-9739505163
Skype- jithinxavi
in.linkedin.com/in/jithinxavier/
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at
http://groups.google.com/group/puppet-users?hl=en.For more options, visit
https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to a topic in the
Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/puppet-users/0i1ChNoJSKA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to
puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at
http://groups.google.com/group/puppet-users?hl=en.For more options, visit
https://groups.google.com/groups/opt_out. --
-Regards
Jithin Xavier
+91-9739505163
Skype- jithinxavi
in.linkedin.com/in/jithinxavier/
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at
http://groups.google.com/group/puppet-users?hl=en.For more options, visit
https://groups.google.com/groups/opt_out.