Skip to content

add jdk17 option

add jdk17 option #59

Triggered via pull request August 23, 2024 13:49
Status Failure
Total duration 4m 39s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
15s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
3s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on redhat-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on redhat-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on almalinux-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUEN
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on almalinux-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUEN
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on rocky-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_C
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on rocky-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_C
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on centos-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on ubuntu-20.04-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUE
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on ubuntu-22.04-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUE
Puppet / 8 (Ruby 3.2): spec/classes/confluence_config_spec.rb#L280
confluence on debian-11-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on redhat-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on redhat-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on almalinux-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUEN
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on almalinux-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUEN
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on rocky-8-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_C
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on rocky-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_C
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on centos-9-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE_
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on ubuntu-20.04-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUE
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on ubuntu-22.04-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUE
Puppet / 7 (Ruby 2.7): spec/classes/confluence_config_spec.rb#L280
confluence on debian-11-x86_64 confluence::config jdk17 specific option is expected to contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content =~ /CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"/ and content =~ /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ Failure/Error: is_expected.to contain_file('/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh'). with_content(%r{CATALINA_OPTS="-XX:\+ExplicitGCInvokesConcurrent \${CATALINA_OPTS}"}). with_content(%r{CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"}) expected that the catalogue would contain File[/opt/confluence/atlassian-confluence-8.5.14/bin/setenv.sh] with content set to /CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS\/logs\/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M \${CATALINA_OPTS}"/ but it is set to "### THIS FILE IS MANAGED BY PUPPET - ANY MANUAL CHANGES WILL BE LOST!\n# See the CATALINA_OPTS below for tuning the JVM arguments used to start Confluence.\n\necho \"If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide\"\n\n# set the location of the pid file\nif [ -z \"$CATALINA_PID\" ] ; then\n if [ -n \"$CATALINA_BASE\" ] ; then\n CATALINA_PID=\"$CATALINA_BASE\"/work/catalina.pid\n elif [ -n \"$CATALINA_HOME\" ] ; then\n CATALINA_PID=\"$CATALINA_HOME\"/work/catalina.pid\n fi\nfi\nexport CATALINA_PID\n\nPRGDIR=`dirname \"$0\"`\nif [ -z \"$CATALINA_BASE\" ]; then\n if [ -z \"$CATALINA_HOME\" ]; then\n LOGBASE=$PRGDIR\n LOGTAIL=..\n else\n LOGBASE=$CATALINA_HOME\n LOGTAIL=.\n fi\nelse\n LOGBASE=$CATALINA_BASE\n LOGTAIL=.\nfi\n\nPUSHED_DIR=`pwd`\ncd $LOGBASE\ncd $LOGTAIL\nLOGBASEABS=`pwd`\ncd $PUSHED_DIR\n\necho \"\"\necho \"Server startup logs are located in $LOGBASEABS/logs/catalina.out\"\n\n# IMPORTANT NOTE: Only set JAVA_HOME or JRE_HOME above this line\n# Get standard Java environment variables\nif $os400; then\n # -r will Only work on the os400 if the files are:\n # 1. owned by the user\n # 2. owned by the PRIMARY group of the user\n # this will not work if the user belongs in secondary groups\n . \"$CATALINA_HOME\"/bin/setjre.sh\nelse\n if [ -r \"$CATALINA_HOME\"/bin/setjre.sh ]; then\n . \"$CATALINA_HOME\"/bin/setjre.sh\n else\n echo \"Cannot find $CATALINA_HOME/bin/setjre.sh\"\n echo \"This file is needed to run this program\"\n exit 1\n fi\nfi\n\necho \"---------------------------------------------------------------------------\"\necho \"Using Java: $JRE_HOME/bin/java\"\nCONFLUENCE_CONTEXT_PATH=`$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/confluence-context-path-extractor.jar $CATALINA_HOME`\nexport CONFLUENCE_CONTEXT_PATH\n$JRE_HOME/bin/java -jar $CATALINA_HOME/bin/synchrony-proxy-watchdog.jar $CATALINA_HOME\necho \"---------------------------------------------------------------------------\"\n\n#\n# Additional JAVA_OPTS\n#\nJAVA_OPTS=\" $JAVA_OPTS\"\nexport JAVA_OPTS\n\n# Set the JVM arguments used to start Confluence. For a description of the options, see\n# http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html\n\nCATALINA_OPTS=\"-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-XX:G1ReservePercent=20 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Djava.awt.headless=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Datlassian.plugins.enable.wait=300 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Xms256m -Xmx1024m -XX:+UseG1GC ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dsynchrony.enable.xhr.fallback=true ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"${START_CONFLUENCE_JAVA_OPTS} ${CATALINA_OPTS}\"\nCATALINA_OPTS=\"-Dconfluence.context.path=${CONFLUENCE
Puppet / Test suite
Process completed with exit code 1.