diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-December/001054.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-December/001054.html | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-December/001054.html b/zarb-ml/mageia-sysadm/2010-December/001054.html new file mode 100644 index 000000000..148baa1c3 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-December/001054.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [536] - add options to remove formatting, so puppet do not try to recreate + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B536%5D%20-%20add%20options%20to%20remove%20formatting%2C%0A%09so%20puppet%20do%20not%20try%20to%20recreate&In-Reply-To=%3C20101207024036.C575C3FE29%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="001053.html"> + <LINK REL="Next" HREF="001055.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [536] - add options to remove formatting, so puppet do not try to recreate</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B536%5D%20-%20add%20options%20to%20remove%20formatting%2C%0A%09so%20puppet%20do%20not%20try%20to%20recreate&In-Reply-To=%3C20101207024036.C575C3FE29%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [536] - add options to remove formatting, so puppet do not try to recreate">root at mageia.org + </A><BR> + <I>Tue Dec 7 03:40:36 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="001053.html">[Mageia-sysadm] [535] - add the owner option, to set the user to whom the database will belong +</A></li> + <LI>Next message: <A HREF="001055.html">[Mageia-sysadm] [537] add perl-Socket6 for ipv6 support, since sympa-www spew error in error_log without it +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1054">[ date ]</a> + <a href="thread.html#1054">[ thread ]</a> + <a href="subject.html#1054">[ subject ]</a> + <a href="author.html#1054">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 536 +Author: misc +Date: 2010-12-07 03:40:36 +0100 (Tue, 07 Dec 2010) +Log Message: +----------- +- add options to remove formatting, so puppet do not try to recreate +the db each time + +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:35 UTC (rev 535) ++++ puppet/modules/postgresql/manifests/init.pp 2010-12-07 02:40:36 UTC (rev 536) +@@ -86,7 +86,7 @@ + define database($description="", $user="postgres") { + exec { "createdb -O $user -U postgres $name '$description'": + user => root, +- unless => "psql -l -U postgres | grep '^$name|'", ++ unless => "psql -A -t -U postgres -l | grep '^$name|'", + } + } + +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101207/b887022f/attachment.html> +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001053.html">[Mageia-sysadm] [535] - add the owner option, to set the user to whom the database will belong +</A></li> + <LI>Next message: <A HREF="001055.html">[Mageia-sysadm] [537] add perl-Socket6 for ipv6 support, since sympa-www spew error in error_log without it +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1054">[ date ]</a> + <a href="thread.html#1054">[ thread ]</a> + <a href="subject.html#1054">[ subject ]</a> + <a href="author.html#1054">[ 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> |