Created
August 2, 2017 13:12
-
-
Save ericbisme/5f84feb3dd08da813d238ca3483bcfa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Set Heapsize in WebLogic setEnv.sh | |
class cu_ps_weblogic::ps_weblogic_setenv ( | |
$ps_config_home = hiera('ps_config_home'), | |
$pia_domain_name = hiera('pia_domain_name'), | |
$wl_heapsize = hiera('wl_heapsize'), | |
$wl_threadpool = hiera('wl_threadpool'), | |
){ | |
Ini_Subsetting { | |
path => "${ps_config_home}/webserv/${pia_domain_name}/bin/setEnv.sh", | |
setting => 'JAVA_OPTIONS_LINUX', | |
} | |
ini_subsetting {" ${pia_domain_name} HEAPMIN": | |
subsetting => '-Xms', | |
value => $wl_heapsize, | |
} | |
ini_subsetting { "${pia_domain_name} HEAPMAX": | |
subsetting => '-Xmx', | |
value => $wl_heapsize, | |
} | |
ini_subsetting { "${pia_domain_name} min_thread_pool_100": | |
subsetting => '-Dweblogic.threadpool.MinPoolSize', | |
key_val_separator => '=', | |
value => $wl_threadpool, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment