From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002047.html | 122 +++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002047.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002047.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002047.html b/zarb-ml/mageia-sysadm/2011-January/002047.html new file mode 100644 index 000000000..9ecb9644a --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002047.html @@ -0,0 +1,122 @@ + + + + [Mageia-sysadm] [773] add various comment on what should be improved later + + + + + + + + + +

[Mageia-sysadm] [773] add various comment on what should be improved later

+ root at mageia.org + root at mageia.org +
+ Thu Jan 13 19:12:22 CET 2011 +

+
+ +
Revision: 773
+Author:   misc
+Date:     2011-01-13 19:12:22 +0100 (Thu, 13 Jan 2011)
+Log Message:
+-----------
+add various comment on what should be improved later
+
+Modified Paths:
+--------------
+    puppet/modules/postgresql/manifests/init.pp
+
+Modified: puppet/modules/postgresql/manifests/init.pp
+===================================================================
+--- puppet/modules/postgresql/manifests/init.pp	2011-01-12 22:58:33 UTC (rev 772)
++++ puppet/modules/postgresql/manifests/init.pp	2011-01-13 18:12:22 UTC (rev 773)
+@@ -57,6 +57,9 @@
+             require => Package["postgresql-server"],
+         }
+         
++        # TODO use augeas to manage this file once augeas 0.7.4 is installed
++        # on our server, as this would allow use to autodeclare database in it without
++        # much trouble
+         file { 'pg_hba.conf':
+             path => "$pgsql_data/pg_hba.conf",
+             ensure => present,
+@@ -77,6 +80,8 @@
+             require => Package["postgresql-server"],
+         }
+ 
++        # TODO add a system of tag so we can declare database on more than one
++        # server 
+         Postgresql::User <<| |>>
+         Postgresql::Database <<| |>>
+     }
+@@ -89,7 +94,9 @@
+             unless => "psql -A -t -U postgres -l | grep '^$name|'",
+         }
+     }
+-
++    
++    # TODO convert to a regular type, so we can later change password without erasing the 
++    # current user
+     define user($password) {
+         $sql = "CREATE ROLE $name ENCRYPTED PASSWORD '\$pass' NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;"
+ 
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110113/713890f8/attachment.html>
+
+ + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1