Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
Merge branch 'howlermonkey' of https://github.com/DICE-UNC/DE into ho…
Browse files Browse the repository at this point in the history
…wlermonkey
  • Loading branch information
donsizemore committed Apr 19, 2016
2 parents bdd85b1 + e6199cb commit 579a1d0
Show file tree
Hide file tree
Showing 726 changed files with 90,920 additions and 1,639 deletions.
9 changes: 5 additions & 4 deletions ansible/DockerfileConfigs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM tianon/true

COPY config_files/iplant/de/logging/ /etc/iplant/de/logging/
COPY config_files/nginx/ /etc/nginx/
COPY config_files/iplant/de/*.properties /etc/iplant/de/
COPY config_files/iplant/de/de-application.yaml /etc/iplant/de/
COPY config_files/iplant/de/logstash-forwarder/ /etc/logstash-forwarder/
COPY config_files/docker-gc/docker-gc-* /etc/docker-gc/

COPY config_files/*.properties /etc/iplant/de/
COPY config_files/*.yaml /etc/iplant/de/
COPY config_files/logstash-forwarder/ /etc/logstash-forwarder/
COPY config_files/docker-gc-* /etc/docker-gc/

VOLUME /etc/iplant/de/logging/
VOLUME /etc/iplant/de/
Expand Down
2 changes: 1 addition & 1 deletion ansible/db-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hosts: db-proxy:&systems
tags:
- databases
sudo: False
become: False

roles:
- role: util-notify-chat
Expand Down
4 changes: 4 additions & 0 deletions ansible/inventories/example.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ metadata
monkey
notificationagent
saved-searches
templeton-periodic
terrain
tree-urls
user-preferences
Expand Down Expand Up @@ -110,6 +111,9 @@ services.example.com
[saved-searches]
services.example.com

[templeton-periodic]
services.example.com

[terrain]
services.example.com

Expand Down
21 changes: 18 additions & 3 deletions ansible/inventories/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ docker:
log_driver: syslog
tag: latest
user: discoenv
version: 1.9.1
version: 1.10.2
compose_path: /etc/docker-compose.yml
registry:
host: "{{ groups['docker-registry'][0] }}"
Expand Down Expand Up @@ -249,8 +249,8 @@ de:
# ssl_certificate: "/etc/ssl/example.com.crt"
# ssl_certificate_key: "/etc/ssl/example.com.key"

app_version_name: Phthalo
app_version: 2.4.0
de_version_name: Phthalo
de_version: 2.5.0

de_feedback_to_addr: ""
de_mail_from_addr: "{{ de_feedback_to_addr }}"
Expand Down Expand Up @@ -376,6 +376,7 @@ elasticsearch:
base: "http://{{ groups['elasticsearch'][0] }}"
scroll_size: 1000
cluster_name: elasticsearch
data_index: data
heap_size:
network_http_port:
network_transport_tcp_port:
Expand Down Expand Up @@ -509,6 +510,10 @@ irods:
admins: rodsadmin
data_curators_group: data-curators
bad_chars: \u0060\u0027\u000A\u0009
amqp_broker:
host: "{{ groups['amqp-brokers'][0] }}"
port:


# Jex does not actually have a container. The container name is how most syslog entries
# are identified. See rsyslog-config role.
Expand Down Expand Up @@ -708,6 +713,16 @@ saved_searches:

search_default_limit: 200

templeton_periodic:
host: "{{ groups['templeton-periodic'][0] }}"
port:
service_name_short: templeton-periodic
compose_service: templeton_periodic
service_description: templeton periodic service
image_name: templeton
container_name: templeton-periodic
log_file: templeton-docker.log

tree_parser_base: http://portnoy.iplantcollaborative.org/parseTree

tree_urls_log_file: /logs/tree-urls.log
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/de-jex.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Configure JEX
hosts: jex:&systems
sudo: yes
become: yes
tags:
- jex
pre_tasks:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/de-porklock.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Deploy porklock
hosts: condor:&systems
sudo: True
become: True
gather_facts: false
tags:
- porklock
Expand Down
77 changes: 48 additions & 29 deletions ansible/playbooks/de-pull-images.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# - name: Update iplant-data
# hosts: docker-ready:&systems
# sudo: true
# become: true
# gather_facts: false
# tags:
# - services
Expand All @@ -12,8 +12,9 @@
# service_name_short: "{{data_container.service_name_short}}"

- name: Update anon-files
hosts: anon-files
sudo: true

hosts: anon-files:&systems
become: true
gather_facts: false
tags:
- services
Expand All @@ -29,7 +30,7 @@

- name: Update apps
hosts: apps:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -44,7 +45,7 @@

- name: Update iplant-data-apps
hosts: docker-ready:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -56,7 +57,7 @@

- name: Update clockwork
hosts: clockwork:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -71,7 +72,7 @@

- name: Update clm
hosts: condor-log-monitor:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -86,7 +87,7 @@

- name: Update data-info
hosts: data-info:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -101,7 +102,7 @@

- name: Update dewey
hosts: dewey:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -118,7 +119,7 @@

- name: Update de-ui
hosts: ui:&systems
sudo: true
become: true
gather_facts: false
tags:
- ui
Expand All @@ -132,7 +133,7 @@

- name: Update iplant-data-de-ui
hosts: docker-ready:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -144,7 +145,7 @@

- name: Update de-ui-nginx
hosts: ui:&systems
sudo: true
become: true
gather_facts: false
tags:
- ui
Expand All @@ -159,7 +160,7 @@

- name: Update iplant-data-de-ui-nginx
hosts: docker-ready:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -171,7 +172,7 @@

- name: Update exim-sender
hosts: exim-sender:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -183,7 +184,7 @@

- name: Update info-typer
hosts: info-typer:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -200,7 +201,7 @@

- name: Update infosquito
hosts: infosquito:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -217,7 +218,7 @@

- name: Update iplant-email
hosts: iplant-email:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -232,7 +233,7 @@

- name: Update iplant-groups
hosts: iplant-groups:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -247,7 +248,7 @@

- name: Update jex-events
hosts: jexevents:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -262,7 +263,7 @@

- name: Update kifshare
hosts: kifshare:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -277,7 +278,7 @@

- name: Update metadata
hosts: metadata:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -292,7 +293,7 @@

- name: Update monkey
hosts: monkey:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -309,7 +310,7 @@

- name: Update notification-agent
hosts: notificationagent:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -324,7 +325,7 @@

- name: Update saved-searches
hosts: saved-searches:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -337,9 +338,27 @@
service_name: "{{saved_searches.compose_service}}"
service_name_short: "{{saved_searches.service_name_short}}"

- name: Update templeton-periodic
hosts: templeton-periodic:&systems
become: true
gather_facts: false
tags:
- services
- templeton
- templeton-periodic
roles:
- role: util-cfg-docker-pull-configs
when: not parasitic
service_name: "{{templeton_periodic.compose_service}}"
service_name_short: "{{templeton_periodic.service_name_short}}"
- role: util-cfg-docker-pull
when: not parasitic
service_name: "{{templeton_periodic.compose_service}}"
service_name_short: "{{templeton_periodic.service_name_short}}"

- name: Update terrain
hosts: terrain:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -354,7 +373,7 @@

- name: Update iplant-data-terrain
hosts: docker-ready:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -366,7 +385,7 @@

- name: Update tree-urls
hosts: tree-urls:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -381,7 +400,7 @@

- name: Update user-preferences
hosts: user-preferences:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand All @@ -396,7 +415,7 @@

- name: Update user-sessions
hosts: user-sessions:&systems
sudo: true
become: true
gather_facts: false
tags:
- services
Expand Down
Loading

0 comments on commit 579a1d0

Please sign in to comment.