summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000294.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000294.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000294.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000294.html b/zarb-ml/mageia-sysadm/2010-November/000294.html
new file mode 100644
index 000000000..b11335d04
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000294.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [172] - manage pg_ident.conf for postgresql
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B172%5D%20-%20manage%20pg_ident.conf%20for%20postgresql&In-Reply-To=%3C20101106072244.9F8F83F8D0%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000293.html">
+ <LINK REL="Next" HREF="000295.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [172] - manage pg_ident.conf for postgresql</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B172%5D%20-%20manage%20pg_ident.conf%20for%20postgresql&In-Reply-To=%3C20101106072244.9F8F83F8D0%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [172] - manage pg_ident.conf for postgresql">root at mageia.org
+ </A><BR>
+ <I>Sat Nov 6 08:22:44 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000293.html">[Mageia-sysadm] [171] - allow transifex user to connect to transifex database
+</A></li>
+ <LI>Next message: <A HREF="000295.html">[Mageia-sysadm] [173] - root on the server is accepted as postgres user
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#294">[ date ]</a>
+ <a href="thread.html#294">[ thread ]</a>
+ <a href="subject.html#294">[ subject ]</a>
+ <a href="author.html#294">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 172
+Author: nanardon
+Date: 2010-11-06 08:22:44 +0100 (Sat, 06 Nov 2010)
+Log Message:
+-----------
+- manage pg_ident.conf for postgresql
+
+Modified Paths:
+--------------
+ puppet/modules/postgresql/manifests/init.pp
+
+Added Paths:
+-----------
+ puppet/modules/postgresql/templates/pg_ident.conf
+
+Modified: puppet/modules/postgresql/manifests/init.pp
+===================================================================
+--- puppet/modules/postgresql/manifests/init.pp 2010-11-06 07:10:14 UTC (rev 171)
++++ puppet/modules/postgresql/manifests/init.pp 2010-11-06 07:22:44 UTC (rev 172)
+@@ -37,4 +37,14 @@
+ require =&gt; Package[&quot;postgresql9.0-server&quot;],
+ notify =&gt; [Service[&quot;postgresql&quot;]]
+ }
++
++ file { '/var/lib/pgsql/data/pg_ident.conf':
++ ensure =&gt; present,
++ owner =&gt; postgres,
++ group =&gt; postgres,
++ mode =&gt; 600,
++ content =&gt; template(&quot;postgresql/pg_ident.conf&quot;),
++ require =&gt; Package[&quot;postgresql9.0-server&quot;],
++ notify =&gt; [Service[&quot;postgresql&quot;]]
++ }
+ }
+
+Added: puppet/modules/postgresql/templates/pg_ident.conf
+===================================================================
+--- puppet/modules/postgresql/templates/pg_ident.conf (rev 0)
++++ puppet/modules/postgresql/templates/pg_ident.conf 2010-11-06 07:22:44 UTC (rev 172)
+@@ -0,0 +1,42 @@
++# PostgreSQL User Name Maps
++# =========================
++#
++# Refer to the PostgreSQL documentation, chapter &quot;Client
++# Authentication&quot; for a complete description. A short synopsis
++# follows.
++#
++# This file controls PostgreSQL user name mapping. It maps external
++# user names to their corresponding PostgreSQL user names. Records
++# are of the form:
++#
++# MAPNAME SYSTEM-USERNAME PG-USERNAME
++#
++# (The uppercase quantities must be replaced by actual values.)
++#
++# MAPNAME is the (otherwise freely chosen) map name that was used in
++# pg_hba.conf. SYSTEM-USERNAME is the detected user name of the
++# client. PG-USERNAME is the requested PostgreSQL user name. The
++# existence of a record specifies that SYSTEM-USERNAME may connect as
++# PG-USERNAME.
++#
++# If SYSTEM-USERNAME starts with a slash (/), it will be treated as a
++# regular expression. Optionally this can contain a capture (a
++# parenthesized subexpression). The substring matching the capture
++# will be substituted for \1 (backslash-one) if present in
++# PG-USERNAME.
++#
++# Multiple maps may be specified in this file and used by pg_hba.conf.
++#
++# No map names are defined in the default configuration. If all
++# system user names and PostgreSQL user names are the same, you don't
++# need anything in this file.
++#
++# This file is read on server startup and when the postmaster receives
++# a SIGHUP signal. If you edit the file on a running system, you have
++# to SIGHUP the postmaster for the changes to take effect. You can
++# use &quot;pg_ctl reload&quot; to do that.
++
++# Put your actual configuration here
++# ----------------------------------
++
++# MAPNAME SYSTEM-USERNAME PG-USERNAME
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101106/5ee10c09/attachment.html&gt;
+</PRE>
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000293.html">[Mageia-sysadm] [171] - allow transifex user to connect to transifex database
+</A></li>
+ <LI>Next message: <A HREF="000295.html">[Mageia-sysadm] [173] - root on the server is accepted as postgres user
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#294">[ date ]</a>
+ <a href="thread.html#294">[ thread ]</a>
+ <a href="subject.html#294">[ subject ]</a>
+ <a href="author.html#294">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>