author | ymh <ymh.work@gmail.com> |
Fri, 08 Apr 2016 19:30:17 +0200 | |
changeset 149 | 3ace15523e6b |
parent 146 | dc4d1cdc47e0 |
child 150 | cb4c47eda2db |
permissions | -rw-r--r-- |
28 | 1 |
class sysconfig::params { |
2 |
||
3 |
$db_name = hiera('sysconfig::params::db_name','corpus') |
|
4 |
$db_drpl_name = hiera('sysconfig::params::db_drpl_name','corpusdelaparole') |
|
5 |
$db_user = hiera('sysconfig::params::db_user','corpus_user') |
|
6 |
$db_pw = hiera('sysconfig::params::db_pw','corpus') |
|
7 |
$db_host = hiera('sysconfig::params::db_host','127.0.0.1') |
|
8 |
$db_port = hiera('sysconfig::params::db_port','3306') |
|
9 |
||
10 |
$es_host = hiera('sysconfig::params::es_host', '127.0.0.1') |
|
11 |
$es_port = hiera('sysconfig::params::es_port', '9200') |
|
12 |
$es_instance = hiera('sysconfig::params::es_instance', 'es_01') |
|
13 |
||
146
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
14 |
$hdl_host = hiera('sysconfig::params::hdl_host', $::ipaddress) |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
15 |
$hdl_user = hiera('sysconfig::params::hdl_user', 'handle') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
16 |
$hdl_srv_port = hiera('sysconfig::params::hdl_srv_port', '2641') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
17 |
$hdl_web_port = hiera('sysconfig::params::hdl_web_port', '8000') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
18 |
$hdl_key_pswd = hiera('sysconfig::params::hdl_key_pswd', 'corpus') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
19 |
$hdl_prefix = hiera('sysconfig::params::hdl_prefix', '12345') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
20 |
$hdl_db_name = hiera('sysconfig::params::hdl_db_name', 'handle') |
dc4d1cdc47e0
first implementation of handle install. Need refinement
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
21 |
|
28 | 22 |
$tomcat_open_port = hiera('sysconfig::params::tomcat_open_port', false) |
23 |
||
24 |
$vhost = hiera('sysconfig::params::vhost', $::ipaddress) |
|
25 |
||
26 |
$memcached_max_memory = hiera('sysconfig::params::memcached_max_memory','25%') |
|
27 |
||
28 |
$corpus_app_key = hiera('sysconfig::params::corpus_app_key', 'TO_BE_DEFINED') |
|
29 |
||
30 |
} |