This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* install and setup on centos * cleaned up distro-specific variables Now imports variable values for Debian and RedHat dynamically. Also cleans out legacy environment variables, set using the setenv script. * allow defaults or group_vars to override local vars
- Loading branch information
1 parent
0c32f41
commit d2e6779
Showing
6 changed files
with
93 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/sh | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# | ||
# handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf | ||
# script: client, instance, shell, start, status, stop, karaf | ||
# | ||
# if [ "$KARAF_SCRIPT" == "SCRIPT_NAME" ]; then | ||
# Actions go here... | ||
# fi | ||
|
||
# | ||
# general settings which should be applied for all scripts go here; please keep | ||
# in mind that it is possible that scripts might be executed more than once, e.g. | ||
# in example of the start script where the start script is executed first and the | ||
# karaf script afterwards. | ||
# | ||
|
||
# | ||
# The following section shows the possible configuration options for the default | ||
# karaf scripts | ||
# | ||
export JAVA_HOME={{karaf_java_home}} # Location of Java installation | ||
# export JAVA_MIN_MEM # Minimum memory for the JVM | ||
# export JAVA_MAX_MEM # Maximum memory for the JVM | ||
# export JAVA_PERM_MEM # Minimum perm memory for the JVM | ||
# export JAVA_MAX_PERM_MEM # Maximum perm memory for the JVM | ||
# export EXTRA_JAVA_OPTS # Additional JVM options | ||
export KARAF_HOME={{karaf_install_symlink}} # Karaf home folder | ||
# export KARAF_DATA # Karaf data folder | ||
# export KARAF_BASE # Karaf base folder | ||
# export KARAF_ETC # Karaf etc folder | ||
# export KARAF_OPTS # Additional available Karaf options | ||
# export KARAF_DEBUG # Enable debug mode | ||
# export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start | ||
# export KARAF_NOROOT # Prevent execution as root if set to true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
|
||
__karaf_java_home: /usr/lib/jvm/java-8-openjdk-amd64 | ||
|
||
__karaf_java_packages: | ||
- openjdk-8-jre | ||
- openjdk-8-jdk |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
|
||
__karaf_java_home: /usr/lib/jvm/java-1.8.0-openjdk | ||
|
||
__karaf_java_packages: | ||
- java-1.8.0-openjdk | ||
- java-1.8.0-openjdk-devel |