dev/provisioning/modules/sysconfig/manifests/params.pp
author ymh <ymh.work@gmail.com>
Fri, 18 Nov 2016 14:48:49 +0100
changeset 428 76a47f714766
parent 405 f239c8c5bb94
permissions -rw-r--r--
add memcached configuration option, small corrections for the build process and add installDrupal.sh file to the release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
class sysconfig::params {
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    $db_name = hiera('sysconfig::params::db_name','corpus')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    $db_drpl_name = hiera('sysconfig::params::db_drpl_name','corpusdelaparole')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    $db_user = hiera('sysconfig::params::db_user','corpus_user')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    $db_pw   = hiera('sysconfig::params::db_pw','corpus')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
    $db_host = hiera('sysconfig::params::db_host','127.0.0.1')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    $db_port = hiera('sysconfig::params::db_port','3306')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
405
f239c8c5bb94 migrate to rdf4j (2.1.1) from sesame (4.1.1)
ymh <ymh.work@gmail.com>
parents: 380
diff changeset
    10
    $rdf4j_host = hiera('sysconfig::params::rdf4j_host', '127.0.0.1')
f239c8c5bb94 migrate to rdf4j (2.1.1) from sesame (4.1.1)
ymh <ymh.work@gmail.com>
parents: 380
diff changeset
    11
    $rdf4j_port = hiera('sysconfig::params::rdf4j_port', '8080')
380
b4f69e646e44 add artisan action after upgrade, correct provisioning
ymh <ymh.work@gmail.com>
parents: 353
diff changeset
    12
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
    $es_host     = hiera('sysconfig::params::es_host', '127.0.0.1')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    $es_port     = hiera('sysconfig::params::es_port', '9200')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
    $es_instance = hiera('sysconfig::params::es_instance', 'es_01')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
150
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    17
    $hdl_host           = hiera('sysconfig::params::hdl_host', $::ipaddress)
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    18
    $hdl_user           = hiera('sysconfig::params::hdl_user', 'handle')
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    19
    $hdl_srv_port       = hiera('sysconfig::params::hdl_srv_port', '2641')
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    20
    $hdl_web_port       = hiera('sysconfig::params::hdl_web_port', '8000')
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    21
    $hdl_key_pswd       = hiera('sysconfig::params::hdl_key_pswd', 'corpus')
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    22
    $hdl_prefix         = hiera('sysconfig::params::hdl_prefix', '12345')
153
338bcc78d431 add HandleClient implementation + configuration + tests
ymh <ymh.work@gmail.com>
parents: 150
diff changeset
    23
    $hdl_test_prefix    = hiera('sysconfig::params::hdl_test_prefix', '12345.1')
150
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    24
    $hdl_prefix_admin   = hiera('sysconfig::params::hdl_prefix_admin', 'CORPUS_ADMIN')
cb4c47eda2db finish handle support in dev VM
ymh <ymh.work@gmail.com>
parents: 146
diff changeset
    25
    $hdl_db_name        = hiera('sysconfig::params::hdl_db_name', 'handle')
146
dc4d1cdc47e0 first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents: 28
diff changeset
    26
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
    $tomcat_open_port = hiera('sysconfig::params::tomcat_open_port', false)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
    $vhost = hiera('sysconfig::params::vhost', $::ipaddress)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
    $memcached_max_memory = hiera('sysconfig::params::memcached_max_memory','25%')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
    $corpus_app_key = hiera('sysconfig::params::corpus_app_key', 'TO_BE_DEFINED')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
353
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
    35
    $geonames_username = hiera('sysconfig::params::geonames_username', 'demo')
bf1bc6b08c46 correct provisioning to install drush and correct config files + module definition for menu access problem
ymh <ymh.work@gmail.com>
parents: 153
diff changeset
    36
28
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
}