From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000988.html | 90 +++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000988.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000988.html') 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 @@ + + + + [Mageia-sysadm] [483] split the declaration of openssl in a class so we can have multiple + + + + + + + + + +

[Mageia-sysadm] [483] split the declaration of openssl in a class so we can have multiple

+ root at mageia.org + root at mageia.org +
+ Tue Nov 30 20:21:43 CET 2010 +

+
+ +
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 => installed
+         }
++    } 
++
++	define self_signed_cert($directory = '/etc/certs') {
++        include openssl::base
++        
+         $pem_file = "$name.pem"
+ 	    exec { "openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $pem_file -out $pem_file -subj  '/CN=$name.$domain'":
+             cwd => "$directory",
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101130/167e3f37/attachment.html>
+
+ + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1