Skip to content

Instantly share code, notes, and snippets.

@lucky-sideburn
Created October 3, 2012 12:51
Show Gist options
  • Save lucky-sideburn/3826749 to your computer and use it in GitHub Desktop.
Save lucky-sideburn/3826749 to your computer and use it in GitHub Desktop.
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