dev/modules/sysconfig/manifests/params.pp
author ymh <ymh.work@gmail.com>
Tue, 08 Apr 2014 16:21:53 +0200
changeset 628 ecf0e467eeb8
parent 597 6cbcec19079b
permissions -rw-r--r--
adapt dev enviromenent to the new test-suite location
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
class sysconfig::params {
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
  $db_name = 'coment'
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  $db_user = 'coment_user'
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  $db_pw   = 'coment'
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
  $db_host = '127.0.0.1'
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  $db_port = '5432'
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  $db_host_real = hiera('sysconfig::params::db_host',$db_host)
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
    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')
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
597
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    12
  $testserver_port = 8001
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    13
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    14
  $superuser_name   = 'admin'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    15
  $superuser_pw     = 'dev@co-ment'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    16
  $user_edit_name   = 'user-edit'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    17
  $user_edit_pw     = 'user-edit@co-ment'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    18
  $user_com_name    = 'user-com'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    19
  $user_com_pw      = 'user-com@co-ment'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    20
  $user_observ_name = 'user-observ'
6cbcec19079b add automated script for test
ymh <ymh.work@gmail.com>
parents: 587
diff changeset
    21
  $user_observ_pw   = 'user-observ@co-ment'
587
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
a1aa29e7809f add a vagrant profile + puppet config for dev box
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
}