Puppet Class: postgresql_cd::server::initdb
+
+
+
+
+ -
+
- Inherits: +
- postgresql_cd::params +
-
+
- Defined in: +
- + manifests/server/initdb.pp + +
Summary
+ Class initiates the database + +Overview
+
+
+
+
+
+
+
+postgresql_cd::server::initdb.pp Module name: postgresql_cd Author: Arne +Teuke (arne_teuke@confdroid.com)
+ +
+
+
+
+
+ + + +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16+ |
+
+ # File 'manifests/server/initdb.pp', line 6
+
+class postgresql_cd::server::initdb (
+
+) inherits postgresql_cd::params {
+ if $fqdn == $pl_server_fqdn {
+ exec { 'init_pgsql_db':
+ command => 'postgresql-setup --initdb',
+ creates => "${pl_data_dir}/PG_VERSION",
+ path => ['/sbin','/usr/bin'],
+ }
+ }
+}
+ |
+