Sha256: 2ad34033244d9acec38cf948a012e8377e4bf931465cc01fa5599840307ad739
Contents?: true
Size: 765 Bytes
Versions: 20
Compression:
Stored size: 765 Bytes
Contents
# This code fragment downloads tomcat 7.0.53, creates an instance and adds a role and user # class { 'tomcat': } class { 'java': } tomcat::instance { 'mycat': catalina_base => '/opt/apache-tomcat/mycat', source_url => 'http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.53/bin/apache-tomcat-7.0.53.tar.gz', }-> tomcat::config::server::tomcat_users { 'mycat-role-tester': ensure => present, catalina_base => '/opt/apache-tomcat/mycat', element => 'role', element_name => 'tester'; 'mycat-user-example': ensure => present, catalina_base => '/opt/apache-tomcat/mycat', element => 'user', element_name => 'example', password => 'very-secret-password', roles => ['tester']; }
Version data entries
20 entries across 20 versions & 1 rubygems