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
--
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 [email protected].
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.