dev/modules/sysconfig/manifests/params.pp
changeset 587 a1aa29e7809f
child 597 6cbcec19079b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/modules/sysconfig/manifests/params.pp	Thu Feb 27 23:19:13 2014 +0100
@@ -0,0 +1,15 @@
+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'
+
+}