summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000426.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000426.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000426.html89
1 files changed, 89 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000426.html b/zarb-ml/mageia-sysadm/2010-November/000426.html
new file mode 100644
index 000000000..a6fefc4f0
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000426.html
@@ -0,0 +1,89 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] password and puppet
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20password%20and%20puppet&In-Reply-To=%3C1288912805.2499.164.camel%40akroma.ephaone.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000229.html">
+ <LINK REL="Next" HREF="000427.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] password and puppet</H1>
+ <B>Michael Scherer</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20password%20and%20puppet&In-Reply-To=%3C1288912805.2499.164.camel%40akroma.ephaone.org%3E"
+ TITLE="[Mageia-sysadm] password and puppet">misc at zarb.org
+ </A><BR>
+ <I>Fri Nov 5 00:20:05 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000229.html">[Mageia-sysadm] [114] - allow postgres connection using IPv6
+</A></li>
+ <LI>Next message: <A HREF="000427.html">[Mageia-sysadm] password and puppet
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#426">[ date ]</a>
+ <a href="thread.html#426">[ thread ]</a>
+ <a href="subject.html#426">[ subject ]</a>
+ <a href="author.html#426">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi,
+
+as those who carefully read all commit have noted, I have used extlookup
+( as planned ) to store the password outside of svn.
+
+For now, the passwords are in /etc/puppet/extdata/common.csv, on
+valstar. The format is :
+name_of_the_password,password
+
+To get the password, in a puppet manifest, just use :
+
+$password = extlookup('name_of_the_password')
+
+and then use $password in template or in the manifest ( variable from
+the manifest can be used directly in the templates ).
+Look at the catdap module to see how I did it.
+You can also look at
+<A HREF="http://docs.puppetlabs.com/references/2.6.1/function.html#extlookup">http://docs.puppetlabs.com/references/2.6.1/function.html#extlookup</A>
+( and on the web ).
+
+The file is read protected by puppet in valstar config.
+
+However, there is no back up, and no auditing of change. Therefore, I
+propose to use some private git/svn for this, any idea or remark ?
+
+( I would also suggest to send mail on commit without the diff, as
+knowing we have added a password is not critical, the content is the
+only thing important ).
+
+WDYT ?
+--
+Michael Scherer
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000229.html">[Mageia-sysadm] [114] - allow postgres connection using IPv6
+</A></li>
+ <LI>Next message: <A HREF="000427.html">[Mageia-sysadm] password and puppet
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#426">[ date ]</a>
+ <a href="thread.html#426">[ thread ]</a>
+ <a href="subject.html#426">[ subject ]</a>
+ <a href="author.html#426">[ 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>