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

Commit

Permalink
#8 incorporate server_config.json template, remove federation stanza …
Browse files Browse the repository at this point in the history
…for now
  • Loading branch information
donsizemore committed Mar 10, 2016
1 parent 9ad27d4 commit 455f004
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ansible/roles/irods/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
sudo_user: root
shell: /var/lib/irods/packaging/setup_irods.sh < /opt/irods/setup_responses

- name: install server_config.json template
sudo: yes
sudo_user: root
template: src=server_config.json.j2 dest=/etc/irods/server_config.json owner=irods group=irods mode=0644

- name: copy in DE core.re
sudo: yes
sudo_user: irods
Expand Down
56 changes: 56 additions & 0 deletions ansible/roles/irods/templates/server_config.json.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"advanced_settings": {
"default_number_of_transfer_threads": 4,
"default_temporary_password_lifetime_in_seconds": 120,
"maximum_number_of_concurrent_rule_engine_server_processes": 4,
"maximum_size_for_single_buffer_in_megabytes": 32,
"maximum_temporary_password_lifetime_in_seconds": 1000,
"transfer_buffer_size_for_parallel_transfer_in_megabytes": 4,
"transfer_chunk_size_for_parallel_transfer_in_megabytes": 40
},
"default_dir_mode": "0700",
"default_file_mode": "0600",
"default_hash_scheme": "SHA256",
"default_resource_directory": "{{ irods.vault }}",
"default_resource_name": "{{ irods_default_resource }}",
"environment_variables": {},
"federation": [],
"icat_host": "localhost",
"match_hash_policy": "compatible",
"negotiation_key": "{{ negotiation_key }}",
"re_data_variable_mapping_set": [
{
"filename": "core"
}
],
"re_function_name_mapping_set": [
{
"filename": "core"
}
],
"re_rulebase_set": [
{
"filename": "ipc-custom"
},
{
"filename": "ipc-uuid"
},
{
"filename": "core"
}
],
"schema_validation_base_uri": "{{ schema_uri }}",
"server_control_plane_encryption_algorithm": "AES-256-CBC",
"server_control_plane_encryption_num_hash_rounds": 16,
"server_control_plane_key": "{{ control_plane_key }}",
"server_control_plane_port": {{ control_plane_port }},
"server_control_plane_timeout_milliseconds": 10000,
"server_port_range_end": {{ irods.portrange.end }},
"server_port_range_start": {{ irods.portrange.start }},
"xmsg_port": 1279,
"zone_auth_scheme": "native",
"zone_key": "{{ zone_key }}",
"zone_name": "{{ irods_zone }}",
"zone_port": {{ irods_port }},
"zone_user": "{{ irods_user }}"
}

0 comments on commit 455f004

Please sign in to comment.