Hello I seem to run in a similar issue --- with an error of Tomcat::Service['default' ] duplicate declaration
On Monday, November 3, 2014 at 3:16:52 PM UTC-5, Ed Young wrote: > > The plugin requires the EPEL repo so I had to install that with this > plugin: > https://forge.puppetlabs.com/stahnma/epel > > That solved many of the issues. > > > > > On Sun, Nov 2, 2014 at 10:26 AM, Ed Young <[email protected] > <javascript:>> wrote: > >> How do I configure the tomcat plugin? >> Do I execute the examples code fragments? If so, how are they executed? >> >> RE: >> https://github.com/puppetlabs/puppetlabs-tomcat#beginning-with-tomcat >> >> It looks like the code fragments in the examples directory correspond to >> the instructions above. >> ../modules/tomcat/examples/default_install_from_package.pp >> >> I've installed the plugin, but I don't get how to configure it per the >> instructions and code snippets: >> "The simplest way to get Tomcat up and running with the tomcat module is >> to install the Tomcat package from EPEL, >> class { 'tomcat': >> install_from_source => false, >> } >> class { 'epel': }-> >> tomcat::instance{ 'default': >> package_name => 'tomcat', >> }-> >> and then start the service. >> tomcat::service { 'default': >> use_jsvc => false, >> use_init => true, >> service_name => 'tomcat', >> >> } >> >> I'm pretty experienced using puppet, and rolling my own modules, but not >> with using puppetlabs modules and need some pointers on this please. >> >> >> > > > -- > - Ed > -- 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/9f92769e-8dc5-4c08-a65c-29f771e973ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
