aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql/manifests')
-rw-r--r--modules/postgresql/manifests/init.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp
index 4982072d..9304fff9 100644
--- a/modules/postgresql/manifests/init.pp
+++ b/modules/postgresql/manifests/init.pp
@@ -29,7 +29,16 @@ class postgresql {
File["pg_ident.conf"],
File["pg_hba.conf"] ]
}
-
+
+ openssl::self_signed_splitted_cert { "pgsql.$domain":
+ filename => "server",
+ directory => $pgsql_data,
+ owner => "postgres",
+ group => "postgres",
+ require => Package['postgresql-server']
+ }
+
+
file { '/etc/pam.d/postgresql':
ensure => present,
owner => root,