diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-December/001053.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-December/001053.html | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-December/001053.html b/zarb-ml/mageia-sysadm/2010-December/001053.html new file mode 100644 index 000000000..20f8555b9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-December/001053.html @@ -0,0 +1,85 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [535] - add the owner option, to set the user to whom the database will belong + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B535%5D%20-%20add%20the%20owner%20option%2C%0A%20to%20set%20the%20user%20to%20whom%20the%20database%20will%20belong&In-Reply-To=%3C20101207024035.8E5B73FE29%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="001052.html"> + <LINK REL="Next" HREF="001054.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [535] - add the owner option, to set the user to whom the database will belong</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B535%5D%20-%20add%20the%20owner%20option%2C%0A%20to%20set%20the%20user%20to%20whom%20the%20database%20will%20belong&In-Reply-To=%3C20101207024035.8E5B73FE29%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [535] - add the owner option, to set the user to whom the database will belong">root at mageia.org + </A><BR> + <I>Tue Dec 7 03:40:35 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="001052.html">[Mageia-sysadm] [534] - simplify the cgi path using custom fact +</A></li> + <LI>Next message: <A HREF="001054.html">[Mageia-sysadm] [536] - add options to remove formatting, so puppet do not try to recreate +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1053">[ date ]</a> + <a href="thread.html#1053">[ thread ]</a> + <a href="subject.html#1053">[ subject ]</a> + <a href="author.html#1053">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 535 +Author: misc +Date: 2010-12-07 03:40:35 +0100 (Tue, 07 Dec 2010) +Log Message: +----------- +- add the owner option, to set the user to whom the database will belong + +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:34 UTC (rev 534) ++++ puppet/modules/postgresql/manifests/init.pp 2010-12-07 02:40:35 UTC (rev 535) +@@ -84,7 +84,7 @@ + + # TODO convert it to a regular type ( so we can later change user and so on ) + define database($description="", $user="postgres") { +- exec { "createdb -U postgres $name '$description'": ++ exec { "createdb -O $user -U postgres $name '$description'": + user => root, + unless => "psql -l -U postgres | grep '^$name|'", + } +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101207/73197330/attachment-0001.html> +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001052.html">[Mageia-sysadm] [534] - simplify the cgi path using custom fact +</A></li> + <LI>Next message: <A HREF="001054.html">[Mageia-sysadm] [536] - add options to remove formatting, so puppet do not try to recreate +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1053">[ date ]</a> + <a href="thread.html#1053">[ thread ]</a> + <a href="subject.html#1053">[ subject ]</a> + <a href="author.html#1053">[ 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> |