dev/modules/sysconfig/manifests/params.pp
changeset 129 3a7a8607d395
child 136 66972b143124
equal deleted inserted replaced
128:7b1c3253250c 129:3a7a8607d395
       
     1 class sysconfig::params {
       
     2 
       
     3   $db_name = 'spel'
       
     4   $db_user = 'spel_user'
       
     5   $db_pw   = 'spel'
       
     6   $db_host = '127.0.0.1'
       
     7   $db_port = '5432'
       
     8 
       
     9   $db_host_real = hiera('sysconfig::params::db_host',$db_host)
       
    10   $db_is_local = ($db_host_real == undef or !$db_host_real or $db_host_real=='127.0.0.1' or $db_host_real=='localhost')
       
    11 
       
    12   $testserver_port = 8001
       
    13 
       
    14   $superuser_name   = 'admin'
       
    15   $superuser_pw     = 'dev@spel'
       
    16   $user_edit_name   = 'user-edit'
       
    17   $user_edit_pw     = 'user-edit@spel'
       
    18   $user_com_name    = 'user-com'
       
    19   $user_com_pw      = 'user-com@spel'
       
    20   $user_observ_name = 'user-observ'
       
    21   $user_observ_pw   = 'user-observ@spel'
       
    22   
       
    23   $path_to_virtualenv = hiera('sysconfig::params::path_to_virtualenv', '/home/vagrant/myspelenv')
       
    24 
       
    25 }