diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000611.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000611.html | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000611.html b/zarb-ml/mageia-sysadm/2010-November/000611.html new file mode 100644 index 000000000..fb4f79638 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000611.html @@ -0,0 +1,111 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [280] add vhost_other_app and webapp_other defines + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B280%5D%20add%20vhost_other_app%20and%20webapp_other%20defines&In-Reply-To=%3C20101118155503.1F6903FBCB%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="000609.html"> + <LINK REL="Next" HREF="000612.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [280] add vhost_other_app and webapp_other defines</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B280%5D%20add%20vhost_other_app%20and%20webapp_other%20defines&In-Reply-To=%3C20101118155503.1F6903FBCB%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [280] add vhost_other_app and webapp_other defines">root at mageia.org + </A><BR> + <I>Thu Nov 18 16:55:03 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000609.html">[Mageia-sysadm] [279] Change class +</A></li> + <LI>Next message: <A HREF="000612.html">[Mageia-sysadm] [281] add vhost and webapp conf files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#611">[ date ]</a> + <a href="thread.html#611">[ thread ]</a> + <a href="subject.html#611">[ subject ]</a> + <a href="author.html#611">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 280 +Author: boklm +Date: 2010-11-18 16:55:02 +0100 (Thu, 18 Nov 2010) +Log Message: +----------- +add vhost_other_app and webapp_other defines + +Modified Paths: +-------------- + puppet/modules/apache/manifests/init.pp + +Modified: puppet/modules/apache/manifests/init.pp +=================================================================== +--- puppet/modules/apache/manifests/init.pp 2010-11-18 10:04:30 UTC (rev 279) ++++ puppet/modules/apache/manifests/init.pp 2010-11-18 15:55:02 UTC (rev 280) +@@ -128,4 +128,29 @@ + content => template("apache/django.wsgi") + } + } ++ ++ define vhost_other_app($vhost_file) { ++ file { "$name.conf": ++ path => "/etc/httpd/conf/vhosts.d/$name.conf", ++ ensure => "present", ++ owner => root, ++ group => root, ++ mode => 644, ++ notify => Service['apache'], ++ content => template($vhost_file) ++ } ++ } ++ ++ define webapp_other($webapp_file) { ++ $webappname = $name ++ file { "webapp_$name.conf": ++ path => "/etc/httpd/conf/webapps.d/$webappname.conf", ++ ensure => "present", ++ owner => root, ++ group => root, ++ mode => 644, ++ notify => Service['apache'], ++ content => template($webapp_file) ++ } ++ } + } +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101118/e7b1de1e/attachment.html> +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000609.html">[Mageia-sysadm] [279] Change class +</A></li> + <LI>Next message: <A HREF="000612.html">[Mageia-sysadm] [281] add vhost and webapp conf files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#611">[ date ]</a> + <a href="thread.html#611">[ thread ]</a> + <a href="subject.html#611">[ subject ]</a> + <a href="author.html#611">[ 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> |