summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000988.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000988.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000988.html90
1 files changed, 90 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000988.html b/zarb-ml/mageia-sysadm/2010-November/000988.html
new file mode 100644
index 000000000..543ad95ea
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000988.html
@@ -0,0 +1,90 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [483] split the declaration of openssl in a class so we can have multiple
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B483%5D%20split%20the%20declaration%20of%20openssl%20in%20a%20class%0A%09so%20we%20can%20have%20multiple&In-Reply-To=%3C20101130192143.15EAC3F88D%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="000987.html">
+ <LINK REL="Next" HREF="000989.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [483] split the declaration of openssl in a class so we can have multiple</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B483%5D%20split%20the%20declaration%20of%20openssl%20in%20a%20class%0A%09so%20we%20can%20have%20multiple&In-Reply-To=%3C20101130192143.15EAC3F88D%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [483] split the declaration of openssl in a class so we can have multiple">root at mageia.org
+ </A><BR>
+ <I>Tue Nov 30 20:21:43 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000987.html">[Mageia-sysadm] [482] - use ssl for epoll ( for security reason )
+</A></li>
+ <LI>Next message: <A HREF="000989.html">[Mageia-sysadm] [484] add requires so the exec do not fail with command not found
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#988">[ date ]</a>
+ <a href="thread.html#988">[ thread ]</a>
+ <a href="subject.html#988">[ subject ]</a>
+ <a href="author.html#988">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 483
+Author: misc
+Date: 2010-11-30 20:21:42 +0100 (Tue, 30 Nov 2010)
+Log Message:
+-----------
+split the declaration of openssl in a class so we can have multiple
+declaration of self_signed_certificate
+
+Modified Paths:
+--------------
+ puppet/modules/openssl/manifests/init.pp
+
+Modified: puppet/modules/openssl/manifests/init.pp
+===================================================================
+--- puppet/modules/openssl/manifests/init.pp 2010-11-30 17:24:51 UTC (rev 482)
++++ puppet/modules/openssl/manifests/init.pp 2010-11-30 19:21:42 UTC (rev 483)
+@@ -1,8 +1,13 @@
+ class openssl {
+- define self_signed_cert($directory = '/etc/certs') {
++ class base {
+ package { 'openssl':
+ ensure =&gt; installed
+ }
++ }
++
++ define self_signed_cert($directory = '/etc/certs') {
++ include openssl::base
++
+ $pem_file = &quot;$name.pem&quot;
+ exec { &quot;openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj '/CN=$name.$domain'&quot;:
+ cwd =&gt; &quot;$directory&quot;,
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101130/167e3f37/attachment.html&gt;
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000987.html">[Mageia-sysadm] [482] - use ssl for epoll ( for security reason )
+</A></li>
+ <LI>Next message: <A HREF="000989.html">[Mageia-sysadm] [484] add requires so the exec do not fail with command not found
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#988">[ date ]</a>
+ <a href="thread.html#988">[ thread ]</a>
+ <a href="subject.html#988">[ subject ]</a>
+ <a href="author.html#988">[ 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>