-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
280 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ SW_REST_URL=http://{{ inventory_hostname }}:8080/SeqWareWebService | |
# the username and password to connect to the REST API used by SeqWare Pipeline to write back processing info to the DB | ||
[email protected] | ||
SW_REST_PASS=admin | ||
|
||
# optional: In atypical environments, the default h_vmem constraint for SGE is too stringent. Override them using this (units in megabytes) | ||
SW_CONTROL_NODE_MEMORY=4000 | ||
|
||
# the base URL for the admin web service | ||
SW_ADMIN_REST_URL=http://localhost:38080/seqware-admin-webservice | ||
# used for direct database connection by admin tools | ||
|
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
--- | ||
# file: roles/seqware-helloworld/tasks/main.yml | ||
|
||
# weird, not sure why this may be an issue in Ubuntu 14.04 | ||
- name: Ensure users own their home directories | ||
file: path={{ item.path }} state={{ item.state }} owner={{ item.owner }} mode={{ item.mode}} group={{ item.group }} recurse=yes | ||
with_items: | ||
- { state: 'directory', path: '/mnt/home/{{ user_name }}', owner: '{{ user_name }}', group: '{{ user_name }}', mode: '0700' } | ||
|
||
- include: 'git.yml' | ||
when: seqware_provider == "git" | ||
|
||
- include: 'artifactory.yml' | ||
when: seqware_provider == "artifactory" | ||
when: seqware_provider == "artifactory" |
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 |
---|---|---|
@@ -1,29 +1,84 @@ | ||
#! /bin/bash | ||
|
||
# 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 | ||
#!/bin/bash | ||
# | ||
# 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. | ||
# | ||
|
||
export JAVA_LIBRARY_PATH="$JAVA_LIBRARY_PATH:/usr/lib/hadoop/lib/native" | ||
|
||
# Set Oozie specific environment variables here. | ||
|
||
export OOZIE_CONFIG=/etc/oozie/conf | ||
export OOZIE_DATA=/var/lib/oozie | ||
export OOZIE_LOG=/var/log/oozie | ||
export OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat | ||
export CATALINA_TMPDIR=/var/lib/oozie | ||
export CATALINA_PID=/var/run/oozie/oozie.pid | ||
export CATALINA_BASE=/usr/lib/oozie/oozie-server-0.20 | ||
export CATALINA_OPTS=-Xmx2048m | ||
export CATALINA_BASE=/var/lib/oozie/tomcat-deployment | ||
|
||
# Settings for the Embedded Tomcat that runs Oozie | ||
# Java System properties for Oozie should be specified in this variable | ||
# | ||
export OOZIE_HTTPS_PORT=11443 | ||
export OOZIE_HTTPS_KEYSTORE_PASS=password | ||
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}" | ||
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}" | ||
export CATALINA_OPTS="$CATALINA_OPTS -Xmx2048m" | ||
|
||
# Oozie configuration file to load from Oozie configuration directory | ||
# | ||
# export OOZIE_CONFIG_FILE=oozie-site.xml | ||
export OOZIE_CONFIG=/etc/oozie/conf | ||
|
||
# Oozie logs directory | ||
# | ||
# export OOZIE_LOG=${OOZIE_HOME}/logs | ||
export OOZIE_LOG=/var/log/oozie | ||
|
||
# Oozie Log4J configuration file to load from Oozie configuration directory | ||
# | ||
# export OOZIE_LOG4J_FILE=oozie-log4j.properties | ||
|
||
# Reload interval of the Log4J configuration file, in seconds | ||
# | ||
# export OOZIE_LOG4J_RELOAD=10 | ||
|
||
# The port Oozie server runs | ||
# | ||
# export OOZIE_HTTP_PORT=11000 | ||
|
||
# The port Oozie server runs if using SSL (HTTPS) | ||
# | ||
# export OOZIE_HTTPS_PORT=11443 | ||
|
||
# The host name Oozie server runs on | ||
# | ||
# export OOZIE_HTTP_HOSTNAME=`hostname -f` | ||
|
||
# The base URL for callback URLs to Oozie | ||
# | ||
# export OOZIE_BASE_URL="http://${OOZIE_HTTP_HOSTNAME}:${OOZIE_HTTP_PORT}/oozie" | ||
|
||
# The location of the keystore for the Oozie server if using SSL (HTTPS) | ||
# | ||
# export OOZIE_HTTPS_KEYSTORE_FILE=${HOME}/.keystore | ||
|
||
# The password of the keystore for the Oozie server if using SSL (HTTPS) | ||
# | ||
# export OOZIE_HTTPS_KEYSTORE_PASS=password | ||
|
||
# The Oozie Instance ID | ||
# | ||
# export OOZIE_INSTANCE_ID="${OOZIE_HTTP_HOSTNAME}" | ||
|
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
Oops, something went wrong.