dev/modules/sysconfig/manifests/params.pp
changeset 587 a1aa29e7809f
child 597 6cbcec19079b
equal deleted inserted replaced
586:59cddf254ebd 587:a1aa29e7809f
       
     1 class sysconfig::params {
       
     2 
       
     3   $db_name = 'coment'
       
     4   $db_user = 'coment_user'
       
     5   $db_pw   = 'coment'
       
     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   $superuser_name = 'admin'
       
    13   $superuser_pw   = 'dev@co-ment'
       
    14 
       
    15 }