Created
October 3, 2012 12:51
-
-
Save lucky-sideburn/3826749 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
iugin@emarzolab01:~/chef-repo/site-cookbooks/geobatch/attributes$ cat default.rb | |
default['geobatch']['temp_dir'] = '/tmp/geobatch' | |
default['geobatch']['config_dir'] = '/data/geobatch/GEOBATCH_CONFIG_DIR/' | |
default['geobatch']['ip'] = node["ipaddress"] | |
default['geobatch']['user'] = 'geobatch' | |
default['geobatch']['jvm_heap'] = '1024m' | |
default['geobatch']['jmx_port'] = '2002' | |
default['geobatch']['java_options'] = [ | |
"-Xms256m", | |
"-Xmx#{default['geobatch']['jvm_heap']}", | |
"-XX:MaxPermSize=256m", | |
"-Djava.awt.headless=true", | |
"-Djava.rmi.server.hostname=#{default['geobatch']['ip']}", | |
"-Dcom.sun.management.jmxremote", | |
"-Dcom.sun.management.jmxremote.port=#{node['geobatch']['jmx_port']}", | |
"-Dcom.sun.management.jmxremote.authenticate=false", | |
"-Dcom.sun.management.jmxremote.ssl=false", | |
"-DGEOBATCH_TEMP_DIR=#{default['geobatch']['temp_dir']}", | |
"-DGEOBATCH_CONFIG_DIR=#{default['geobatch']['config_dir']}" ] | |
default['geobatch']['env'] = [ "USER=geobatch" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment