How to install tomcat silenlty using puppet on Windows 7

287 views
Skip to first unread message

Maruti Gangumolu

unread,
Jan 21, 2016, 7:38:53 PM1/21/16
to Puppet Users
Hi,

I'm new user to puppet tool and I have few issues while installing tomcat silently on windows. this is my manifest file

package { 'tomcat-8' :
  ensure => present,
  source => 'C:/abc/Puppet/apache-tomcat-8.0.30.exe',
  install_options => ['/VERYSILENT'],
  description => 'Installing tomcat v8.0.30 on windows system',
 }

The issue is GUI application is popping up for installation and How can I avoid it?

Thanks,
Maruti.

Thomas Müller

unread,
Jan 22, 2016, 4:19:01 AM1/22/16
to Puppet Users
I don't think this is a puppet issue. I suspect /VERISILENT is wrong. Try googling for tomcat and silent install. 

And read the docs too about package type on windows: https://docs.puppetlabs.com/puppet/3.6/reference/resources_package_windows.html . I guess "tomcat-8" isn't correct.

- Thomas

Dirk Heinrichs

unread,
Jan 22, 2016, 4:22:53 AM1/22/16
to puppet...@googlegroups.com
Am 21.01.2016 um 19:04 schrieb Maruti Gangumolu:

  install_options => ['/VERYSILENT'],

I have: install_options => ['/S'],

HTH...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: d...@recommind.com
Skype: dirk.heinrichs.recommind
www.recommind.com

Maruti Gangumolu

unread,
Jan 28, 2016, 6:22:17 AM1/28/16
to Puppet Users, dirk.he...@recommind.com
Thanks Dirk! It worked. I'm still facing with module class file. When I'm invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting an error that apache class is not found. Could you please help me with it?

# Manage apache tomcat v8 application server
class apache {
 package { 'Tomcat8' :
  ensure => present,
  source => 'C:/Maruti/Puppet/apache-tomcat-8.0.30.exe',
  install_options => ['/S','/D=C:\Maruti\Puppet\apache-tomcat-8'],

  description => 'Installing tomcat v8.0.30 on windows system', 
 }
}



Thanks,
Maruti.


On Friday, January 22, 2016 at 2:52:53 PM UTC+5:30, Dirk Heinrichs wrote:
Am 21.01.2016 um 19:04 schrieb Maruti Gangumolu:

  install_options => ['/VERYSILENT'],

I have: install_options => ['/S'],

HTH...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Auto Generated Inline Image 1

Felix Frank

unread,
Feb 11, 2016, 6:10:47 PM2/11/16
to puppet...@googlegroups.com
On 01/28/2016 12:22 PM, Maruti Gangumolu wrote:
> Thanks Dirk! It worked. I'm still facing with module class file. When
> I'm invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting
> an error that apache class is not found. Could you please help me with it?
>
> # Manage apache tomcat v8 application server
> class apache {
> package { 'Tomcat8' :
> ensure => present,
> source => 'C:/Maruti/Puppet/apache-tomcat-8.0.30.exe',
> install_options => ['/S','/D=C:\Maruti\Puppet\apache-tomcat-8'],
> description => 'Installing tomcat v8.0.30 on windows system',
> }
> }

Hi,

where did you create that `class apache`?

Ideally, you should put it into a custom module such as 'site' or
'local' and call it local::apache. It might even go into your profiles
module as profile::apache.

Have you completed the training VM course?

HTH,
Felix

Maruti Gangumolu

unread,
Feb 12, 2016, 2:55:02 AM2/12/16
to puppet...@googlegroups.com
Hi Felix,

I was able to resolve the issue by specifying the right modulepath option in the puppet apply command.

Thanks,
Maruti.



--
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/7uqvM8X794Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/56BD1505.7030607%40Alumni.TU-Berlin.de.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages