Last active
November 19, 2019 16:45
-
-
Save dannylamb/68f7428081ba5571294c4b203526fc03 to your computer and use it in GitHub Desktop.
Sandbox vs Vagrant inventory
This file contains hidden or 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
diff -ur inventory/vagrant/group_vars/all/passwords.yml inventory/sandbox/group_vars/all/passwords.yml | |
--- inventory/vagrant/group_vars/all/passwords.yml 2019-10-31 11:28:11.975058891 -0300 | |
+++ inventory/sandbox/group_vars/all/passwords.yml 2019-11-19 11:47:22.435840282 -0400 | |
@@ -1,20 +1,20 @@ | |
--- | |
# Drupal | |
-drupal_db_password: islandora | |
-drupal_account_pass: islandora | |
+drupal_db_password: ChangeMe | |
+drupal_account_pass: ChangeMe | |
# MySQL/Postgres | |
-islandora_db_root_password: islandora | |
+islandora_db_root_password: ChangeMe | |
# Tomcat | |
-islandora_tomcat_password: islandora | |
+islandora_tomcat_password: ChangeMe | |
# Syn | |
-islandora_syn_token: islandora | |
+islandora_syn_token: ChangeMe | |
# Cantaloupe | |
-cantaloupe_admin_password: islandora | |
+cantaloupe_admin_password: ChangeMe | |
# Fedora | |
-fcrepo_db_password: islandora | |
\ No newline at end of file | |
+fcrepo_db_password: ChangeMe | |
\ No newline at end of file | |
diff -ur inventory/vagrant/group_vars/karaf.yml inventory/sandbox/group_vars/karaf.yml | |
--- inventory/vagrant/group_vars/karaf.yml 2019-10-31 11:27:45.173756199 -0300 | |
+++ inventory/sandbox/group_vars/karaf.yml 2019-11-19 12:07:09.156002573 -0400 | |
@@ -1,13 +1,61 @@ | |
--- | |
# Comment in to build Alpaca from source | |
- alpaca_from_source: yes | |
- alpaca_version: dev | |
- alpaca_clone_directory: /opt/alpaca | |
+alpaca_from_source: yes | |
+alpaca_version: dev | |
+alpaca_clone_directory: /opt/alpaca | |
- triplestore_namespace: islandora | |
- alpaca_triplestore_base_url: "http://{{ hostvars[groups['tomcat'][0]].ansible_host }}:8080/bigdata" | |
- alpaca_milliner_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/milliner/" | |
- alpaca_gemini_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/gemini/" | |
- alpaca_houdini_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/houdini" | |
- alpaca_homarus_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/homarus" | |
+triplestore_namespace: islandora | |
+alpaca_triplestore_base_url: "http://{{ hostvars[groups['tomcat'][0]].ansible_host }}:8080/bigdata" | |
+alpaca_milliner_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/milliner/" | |
+alpaca_gemini_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/gemini/" | |
+alpaca_houdini_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/houdini" | |
+alpaca_homarus_base_url: "http://{{ hostvars[groups['webserver'][0]].ansible_host }}:{{ apache_listen_port }}/homarus" | |
+ | |
+alpaca_settings: | |
+ - pid: ca.islandora.alpaca.http.client | |
+ settings: | |
+ token.value: ChangeMe | |
+ - pid: org.fcrepo.camel.indexing.triplestore | |
+ settings: | |
+ input.stream: activemq:topic:fedora | |
+ triplestore.reindex.stream: activemq:queue:triplestore.reindex | |
+ triplestore.baseUrl: "{{ alpaca_triplestore_base_url }}/namespace/{{ triplestore_namespace }}/sparql" | |
+ - pid: ca.islandora.alpaca.indexing.triplestore | |
+ settings: | |
+ error.maxRedeliveries: 10 | |
+ index.stream: activemq:queue:islandora-indexing-triplestore-index | |
+ delete.stream: activemq:queue:islandora-indexing-triplestore-delete | |
+ triplestore.baseUrl: "{{ alpaca_triplestore_base_url }}/namespace/{{ triplestore_namespace }}/sparql" | |
+ - pid: ca.islandora.alpaca.indexing.fcrepo | |
+ settings: | |
+ error.maxRedeliveries: 5 | |
+ node.stream: activemq:queue:islandora-indexing-fcrepo-content | |
+ node.delete.stream: activemq:queue:islandora-indexing-fcrepo-delete | |
+ media.stream: activemq:queue:islandora-indexing-fcrepo-media | |
+ file.stream: activemq:queue:islandora-indexing-fcrepo-file | |
+ file.delete.stream: activemq:queue:islandora-indexing-fcrepo-file-delete | |
+ milliner.baseUrl: "{{ alpaca_milliner_base_url }}" | |
+ gemini.baseUrl: "{{ alpaca_gemini_base_url }}" | |
+ | |
+alpaca_blueprint_settings: | |
+ - pid: ca.islandora.alpaca.connector.ocr | |
+ in_stream: activemq:queue:islandora-connector-ocr | |
+ derivative_service_url: http://localhost:8000/hypercube | |
+ error_max_redeliveries: 5 | |
+ camel_context_id: IslandoraConnectorOCR | |
+ - pid: ca.islandora.alpaca.connector.houdini | |
+ in_stream: activemq:queue:islandora-connector-houdini | |
+ derivative_service_url: "{{ alpaca_houdini_base_url }}/convert" | |
+ error_max_redeliveries: 5 | |
+ camel_context_id: IslandoraConnectorHoudini | |
+ - pid: ca.islandora.alpaca.connector.homarus | |
+ in_stream: activemq:queue:islandora-connector-homarus | |
+ derivative_service_url: "{{ alpaca_homarus_base_url }}/convert" | |
+ error_max_redeliveries: 5 | |
+ camel_context_id: IslandoraConnectorHomarus | |
+ - pid: ca.islandora.alpaca.connector.fits | |
+ in_stream: activemq:queue:islandora-connector-fits | |
+ derivative_service_url: http://localhost:8000/crayfits/ | |
+ error_max_redeliveries: 5 | |
+ camel_context_id: IslandoraConnectorFits | |
diff -ur inventory/vagrant/group_vars/tomcat.yml inventory/sandbox/group_vars/tomcat.yml | |
--- inventory/vagrant/group_vars/tomcat.yml 2019-10-31 11:28:11.995062573 -0300 | |
+++ inventory/sandbox/group_vars/tomcat.yml 2019-11-19 12:06:00.406117468 -0400 | |
@@ -55,6 +55,8 @@ | |
fcrepo_version: "5.1.0" | |
fcrepo_auth_header_name: "X-Islandora" | |
fcrepo_syn_auth_header: "X-Islandora" | |
+fcrepo_allowed_external_content: | |
+ - http://example.org/ | |
cantaloupe_deploy_war: yes | |
cantaloupe_deploy_war_path: "{{ tomcat8_home }}/webapps" | |
diff -ur inventory/vagrant/group_vars/webserver/apache.yml inventory/sandbox/group_vars/webserver/apache.yml | |
--- inventory/vagrant/group_vars/webserver/apache.yml 2018-11-13 13:07:26.882011707 -0400 | |
+++ inventory/sandbox/group_vars/webserver/apache.yml 2019-11-18 14:42:20.908063214 -0400 | |
@@ -1,6 +1,6 @@ | |
--- | |
-apache_listen_port: 8000 | |
+apache_listen_port: 80 | |
apache_create_vhosts: true | |
apache_vhosts_filename: "islandora.conf" | |
apache_remove_default_vhost: true | |
diff -ur inventory/vagrant/group_vars/webserver/general.yml inventory/sandbox/group_vars/webserver/general.yml | |
--- inventory/vagrant/group_vars/webserver/general.yml 2019-10-31 11:27:45.209763859 -0300 | |
+++ inventory/sandbox/group_vars/webserver/general.yml 2019-11-19 12:42:12.123578352 -0400 | |
@@ -3,3 +3,4 @@ | |
webserver_app: yes | |
openseadragon_iiiv_set_var: yes | |
openseadragon_iiiv_server: "http://{{ hostvars[groups['tomcat'][0]].ansible_host }}:8080/cantaloupe/iiif/2" | |
+matomo_site_url: http://example.org | |
diff -ur inventory/vagrant/hosts inventory/sandbox/hosts | |
--- inventory/vagrant/hosts 2019-10-31 11:27:45.229768115 -0300 | |
+++ inventory/sandbox/hosts 2019-11-19 11:24:00.712109901 -0400 | |
@@ -1,6 +1,6 @@ | |
# Generated by Vagrant | |
-default ansible_host=127.0.0.1 ansible_port=2222 ansible_ssh_private_key_file='.vagrant/machines/default/virtualbox/private_key' | |
+default ansible_host=example.org ansible_ssh_user=root ansible_ssh_private_key_file='/home/daniel/.ssh/id_rsa' | |
[karaf] | |
default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment