dev/modules/sysconfig/manifests/params.pp
author ymh <ymh.work@gmail.com>
Fri, 07 Mar 2014 09:36:04 +0100
changeset 592 cd268815de68
parent 587 a1aa29e7809f
child 597 6cbcec19079b
permissions -rw-r--r--
correct karma tests configuration to be more generic

class sysconfig::params {

  $db_name = 'coment'
  $db_user = 'coment_user'
  $db_pw   = 'coment'
  $db_host = '127.0.0.1'
  $db_port = '5432'

  $db_host_real = hiera('sysconfig::params::db_host',$db_host)
  $db_is_local = ($db_host_real == undef or !$db_host_real or $db_host_real=='127.0.0.1' or $db_host_real=='localhost')

  $superuser_name = 'admin'
  $superuser_pw   = 'dev@co-ment'

}