templates/start-env.erb
#!/bin/bash
#
# ************************************
# Managed by Puppet AEM Module
# ************************************
#
# This file manages the configuration of the run script.
#
TYPE='<%= @type %>'
PORT=<%= @port %>
RUNMODES='<%= @runmodes.join(",") if @runmodes %>'
SAMPLE_CONTENT='<%= "nosamplecontent" if @sample_content == false %>'
DEBUG_PORT=<%= @debug_port %>
<% if @context_root %>
CONTEXT_ROOT='<%= @context_root %>'
<% end %>
JVM_MEM_OPTS='<%= @jvm_mem_opts %>'
DEFAULT_JVM_OPTS='-server -Djava.awt.headless=true'
JVM_OPTS='<%= @jvm_opts %>'
SLING_PROPS='conf/sling.properties'
# Do we ever implement these?
#HOST=
#FILE_SIZE_LIMIT
# This doesn't ever seem to work
#LOG_LEVEL=