dev/provisioning/modules/sysconfig/manifests/params.pp
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 11:14:11 +0100
changeset 96 719390899adf
parent 28 b0b56e0f8c7f
child 146 dc4d1cdc47e0
permissions -rw-r--r--
add action helper on "thematique" click or input enter to set the "thematique" parameter
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
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    $es_host     = hiera('sysconfig::params::es_host', '127.0.0.1')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
    $es_port     = hiera('sysconfig::params::es_port', '9200')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    $es_instance = hiera('sysconfig::params::es_instance', 'es_01')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    $tomcat_open_port = hiera('sysconfig::params::tomcat_open_port', false)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
    $vhost = hiera('sysconfig::params::vhost', $::ipaddress)
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
    $memcached_max_memory = hiera('sysconfig::params::memcached_max_memory','25%')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
    $corpus_app_key = hiera('sysconfig::params::corpus_app_key', 'TO_BE_DEFINED')
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
b0b56e0f8c7f Add contributor edition
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
}