class sysconfig::params {

    $db_name = hiera('sysconfig::params::db_name','corpus')
    $db_drpl_name = hiera('sysconfig::params::db_drpl_name','corpusdelaparole')
    $db_user = hiera('sysconfig::params::db_user','corpus_user')
    $db_pw   = hiera('sysconfig::params::db_pw','corpus')
    $db_host = hiera('sysconfig::params::db_host','127.0.0.1')
    $db_port = hiera('sysconfig::params::db_port','3306')

    $es_host     = hiera('sysconfig::params::es_host', '127.0.0.1')
    $es_port     = hiera('sysconfig::params::es_port', '9200')
    $es_instance = hiera('sysconfig::params::es_instance', 'es_01')

    $tomcat_open_port = hiera('sysconfig::params::tomcat_open_port', false)

    $vhost = hiera('sysconfig::params::vhost', $::ipaddress)

    $memcached_max_memory = hiera('sysconfig::params::memcached_max_memory','25%')

    $corpus_app_key = hiera('sysconfig::params::corpus_app_key', 'TO_BE_DEFINED')

}
