[Mageia-sysadm] [531] - create the needed certificate for postgresql ( name is hardcoded )
root at mageia.org
root at mageia.org
Tue Dec 7 03:40:31 CET 2010
Revision: 531
Author: misc
Date: 2010-12-07 03:40:31 +0100 (Tue, 07 Dec 2010)
Log Message:
-----------
- create the needed certificate for postgresql ( name is hardcoded )
Modified Paths:
--------------
puppet/modules/postgresql/manifests/init.pp
Modified: puppet/modules/postgresql/manifests/init.pp
===================================================================
--- puppet/modules/postgresql/manifests/init.pp 2010-12-07 02:40:29 UTC (rev 530)
+++ puppet/modules/postgresql/manifests/init.pp 2010-12-07 02:40:31 UTC (rev 531)
@@ -29,7 +29,16 @@
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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101207/8f3c8637/attachment-0001.html>
More information about the Mageia-sysadm
mailing list