Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
add doc for instance setup
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed Dec 15, 2014
1 parent b65d0eb commit 4c61c67
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,28 @@ class { '::tomcat':
}
```

Disable default instance and setup 2 individual instances

```puppet
class { '::tomcat':
service_ensure => 'stopped',
service_enable => false,
log4j => true
}
tomcat::instance { 'instance1':
control_port => 8005,
http_port => 8080,
ajp_connector => false,
java_home => '/usr/java/jre1.7.0_65',
java_opts => '-server -Xmx2048m -Xms256m -XX:+UseConcMarkSweepGC',
}
tomcat::instance { 'instance2':
control_port => 8006,
http_port => 8081,
log4j_enable => true
}
```

##Usage

This module distinguishes two different contexts:
Expand Down

0 comments on commit 4c61c67

Please sign in to comment.