dev/modules/sysconfig/manifests/params.pp
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Wed, 10 Sep 2014 16:14:03 +0200
changeset 129 3a7a8607d395
child 136 66972b143124
permissions -rw-r--r--
puppet files and modules for vm provisioning

class sysconfig::params {

  $db_name = 'spel'
  $db_user = 'spel_user'
  $db_pw   = 'spel'
  $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')

  $testserver_port = 8001

  $superuser_name   = 'admin'
  $superuser_pw     = 'dev@spel'
  $user_edit_name   = 'user-edit'
  $user_edit_pw     = 'user-edit@spel'
  $user_com_name    = 'user-com'
  $user_com_pw      = 'user-com@spel'
  $user_observ_name = 'user-observ'
  $user_observ_pw   = 'user-observ@spel'
  
  $path_to_virtualenv = hiera('sysconfig::params::path_to_virtualenv', '/home/vagrant/myspelenv')

}