summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000683.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000683.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000683.html475
1 files changed, 475 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000683.html b/zarb-ml/mageia-sysadm/2010-November/000683.html
new file mode 100644
index 000000000..13d00add9
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000683.html
@@ -0,0 +1,475 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [340] Merge remote branch 'vm_valstar/master'
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B340%5D%20Merge%20remote%20branch%20%27vm_valstar/master%27&In-Reply-To=%3C20101120115254.DBD763FBCB%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="000682.html">
+ <LINK REL="Next" HREF="000684.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [340] Merge remote branch 'vm_valstar/master'</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B340%5D%20Merge%20remote%20branch%20%27vm_valstar/master%27&In-Reply-To=%3C20101120115254.DBD763FBCB%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [340] Merge remote branch 'vm_valstar/master'">root at mageia.org
+ </A><BR>
+ <I>Sat Nov 20 12:52:54 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000682.html">[Mageia-sysadm] [339] Merge remote branch 'vm_valstar/master'
+</A></li>
+ <LI>Next message: <A HREF="000684.html">[Mageia-sysadm] [340] Merge remote branch 'vm_valstar/master'
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#683">[ date ]</a>
+ <a href="thread.html#683">[ thread ]</a>
+ <a href="subject.html#683">[ subject ]</a>
+ <a href="author.html#683">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 340
+Author: misc
+Date: 2010-11-20 12:52:54 +0100 (Sat, 20 Nov 2010)
+Log Message:
+-----------
+Merge remote branch 'vm_valstar/master'
+
+Modified Paths:
+--------------
+ puppet/modules/bugzilla/manifests/init.pp
+ puppet/modules/bugzilla/templates/params
+ puppet/modules/bugzilla/templates/webapp_bugzilla.conf
+ puppet/modules/catdap/manifests/init.pp
+ puppet/modules/catdap/templates/catdap_local.yml
+ puppet/modules/epoll/manifests/init.pp
+ puppet/modules/mga-mirrors/manifests/init.pp
+ puppet/modules/openldap/templates/slapd.conf
+ puppet/modules/openssh/manifests/init.pp
+ puppet/modules/pam/templates/ldap.conf
+ puppet/modules/postfix/templates/main.cf
+ puppet/modules/postfix/templates/simple_relay_main.cf
+ puppet/modules/restrictshell/templates/ldap-sshkey2file.py
+ puppet/modules/sympa/manifests/init.pp
+ puppet/modules/sympa/templates/auth.conf
+ puppet/modules/transifex/manifests/init.pp
+ puppet/modules/transifex/templates/20-engines.conf
+
+Added Paths:
+-----------
+ puppet/modules/bugzilla/templates/vhost_bugs.conf
+
+Removed Paths:
+-------------
+ puppet/modules/bugzilla/templates/vhost_bugs.mageia.org.conf
+
+Modified: puppet/modules/bugzilla/manifests/init.pp
+===================================================================
+--- puppet/modules/bugzilla/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/bugzilla/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -10,8 +10,8 @@
+ file { '/etc/bugzilla/localconfig':
+ ensure =&gt; present,
+ owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 644,
++ group =&gt; apache,
++ mode =&gt; 640,
+ content =&gt; template(&quot;bugzilla/localconfig&quot;)
+ }
+
+@@ -19,8 +19,8 @@
+ file { '/var/lib/bugzilla/params':
+ ensure =&gt; present,
+ owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 644,
++ group =&gt; apache,
++ mode =&gt; 640,
+ content =&gt; template(&quot;bugzilla/params&quot;)
+ }
+
+@@ -30,7 +30,7 @@
+ }
+
+ apache::vhost_other_app { &quot;bugs.$domain&quot;:
+- vhost_file =&gt; &quot;bugzilla/vhost_bugs.mageia.org.conf&quot;,
++ vhost_file =&gt; &quot;bugzilla/vhost_bugs.conf&quot;,
+ }
+ }
+
+
+Modified: puppet/modules/bugzilla/templates/params
+===================================================================
+--- puppet/modules/bugzilla/templates/params 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/bugzilla/templates/params 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,9 +1,9 @@
+ %param = (
+- 'LDAPBaseDN' =&gt; 'ou=People,dc=mageia,dc=org',
+- 'LDAPbinddn' =&gt; 'cn=bugzilla-alamut,ou=System Accounts,dc=mageia,dc=org:&lt;%= passwordLdap %&gt;',
++ 'LDAPBaseDN' =&gt; 'ou=People,&lt;%= dc_suffix %&gt;',
++ 'LDAPbinddn' =&gt; 'cn=bugzilla-alamut,ou=System Accounts,&lt;%= dc_suffix %&gt;:&lt;%= passwordLdap %&gt;',
+ 'LDAPfilter' =&gt; '',
+ 'LDAPmailattribute' =&gt; 'mail',
+- 'LDAPserver' =&gt; 'ldap.mageia.org',
++ 'LDAPserver' =&gt; 'ldap.&lt;%= domain %&gt;',
+ 'LDAPstarttls' =&gt; '1',
+ 'LDAPuidattribute' =&gt; 'uid',
+ 'RADIUS_NAS_IP' =&gt; '',
+@@ -88,7 +88,7 @@
+ 'strict_isolation' =&gt; 0,
+ 'timetrackinggroup' =&gt; 'editbugs',
+ 'upgrade_notification' =&gt; 'latest_stable_release',
+- 'urlbase' =&gt; '<A HREF="http://bugs.mageia.org/">http://bugs.mageia.org/</A>',
++ 'urlbase' =&gt; '<A HREF="http://bugs.&lt;%=">http://bugs.&lt;%=</A> domain %&gt;/',
+ 'use_mailer_queue' =&gt; 0,
+ 'use_see_also' =&gt; 1,
+ 'usebugaliases' =&gt; 0,
+
+Copied: puppet/modules/bugzilla/templates/vhost_bugs.conf (from rev 339, puppet/modules/bugzilla/templates/vhost_bugs.mageia.org.conf)
+===================================================================
+--- puppet/modules/bugzilla/templates/vhost_bugs.conf (rev 0)
++++ puppet/modules/bugzilla/templates/vhost_bugs.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -0,0 +1,13 @@
++&lt;%
++path_data_directory = lib_dir + &quot;/bugzilla&quot;
++%&gt;
++
++&lt;VirtualHost *:80&gt;
++ ServerName bugs.&lt;%= domain %&gt;
++ DocumentRoot /usr/share/bugzilla/www
++ Alias /bugzilla/data &lt;%= path_data_directory %&gt;
++ Alias /bugzilla /usr/share/bugzilla/www
++ &lt;Location /&gt;
++ Allow from all
++ &lt;/Location&gt;
++&lt;/VirtualHost&gt;
+
+Deleted: puppet/modules/bugzilla/templates/vhost_bugs.mageia.org.conf
+===================================================================
+--- puppet/modules/bugzilla/templates/vhost_bugs.mageia.org.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/bugzilla/templates/vhost_bugs.mageia.org.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,13 +0,0 @@
+-&lt;%
+-path_data_directory = &quot;/usr/lib&quot; + ( architecture == &quot;x86_64&quot; ? '64' : '') + &quot;/bugzilla&quot;
+-%&gt;
+-
+-&lt;VirtualHost *:80&gt;
+- ServerName bugs.&lt;%= domain %&gt;
+- DocumentRoot /usr/share/bugzilla/www
+- Alias /bugzilla/data &lt;%= path_data_directory %&gt;
+- Alias /bugzilla /usr/share/bugzilla/www
+- &lt;Location /&gt;
+- Allow from all
+- &lt;/Location&gt;
+-&lt;/VirtualHost&gt;
+
+Modified: puppet/modules/bugzilla/templates/webapp_bugzilla.conf
+===================================================================
+--- puppet/modules/bugzilla/templates/webapp_bugzilla.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/bugzilla/templates/webapp_bugzilla.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,5 +1,5 @@
+ &lt;%
+-path_data_directory = &quot;/usr/lib&quot; + ( architecture == &quot;x86_64&quot; ? '64' : '') + &quot;/bugzilla&quot;
++path_data_directory = lib_dir + &quot;/bugzilla&quot;
+ %&gt;
+
+ &lt;Directory /usr/share/bugzilla/www&gt;
+
+Modified: puppet/modules/catdap/manifests/init.pp
+===================================================================
+--- puppet/modules/catdap/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/catdap/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -25,8 +25,9 @@
+
+ file { &quot;$catdap_location/catdap_local.yml&quot;:
+ ensure =&gt; present,
+- owner =&gt; apache,
+- mode =&gt; 600,
++ owner =&gt; root,
++ group =&gt; apache,
++ mode =&gt; 640,
+ content =&gt; template(&quot;catdap/catdap_local.yml&quot;),
+ require =&gt; Subversion::Snapshot[$catdap_location]
+ }
+
+Modified: puppet/modules/catdap/templates/catdap_local.yml
+===================================================================
+--- puppet/modules/catdap/templates/catdap_local.yml 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/catdap/templates/catdap_local.yml 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,8 +1,4 @@
+ &lt;%
+-# domain come from facter
+-
+-dc_suffix = 'dc=' + domain.gsub('.',',dc=')
+-
+ ldap_server = 'ldap.' + domain
+
+ ldap_password = catdap_password
+
+Modified: puppet/modules/epoll/manifests/init.pp
+===================================================================
+--- puppet/modules/epoll/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/epoll/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -15,9 +15,9 @@
+ file { &quot;epoll.yml&quot;:
+ path =&gt; &quot;/etc/epoll.yml&quot;,
+ ensure =&gt; &quot;present&quot;,
+- owner =&gt; apache,
++ owner =&gt; root,
+ group =&gt; apache,
+- mode =&gt; 600,
++ mode =&gt; 640,
+ content =&gt; template(&quot;epoll/epoll.yml&quot;)
+ }
+ }
+
+Modified: puppet/modules/mga-mirrors/manifests/init.pp
+===================================================================
+--- puppet/modules/mga-mirrors/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/mga-mirrors/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -15,9 +15,9 @@
+ file { &quot;mga-mirrors.ini&quot;:
+ path =&gt; &quot;/etc/mga-mirrors.ini&quot;,
+ ensure =&gt; &quot;present&quot;,
+- owner =&gt; apache,
++ owner =&gt; root,
+ group =&gt; apache,
+- mode =&gt; 600,
++ mode =&gt; 640,
+ content =&gt; template(&quot;mga-mirrors/mga-mirrors.ini&quot;)
+ }
+ }
+
+Modified: puppet/modules/openldap/templates/slapd.conf
+===================================================================
+--- puppet/modules/openldap/templates/slapd.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/openldap/templates/slapd.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,9 +1,3 @@
+-&lt;%
+-dc_suffix = 'dc=' + domain.gsub('.',',dc=')
+-path_module_directory = &quot;/usr/lib&quot; + ( architecture == &quot;x86_64&quot; ? '64' : '') + &quot;/openldap&quot;
+-
+-%&gt;
+-
+ # slapd.conf template
+ include /usr/share/openldap/schema/core.schema
+ include /usr/share/openldap/schema/cosine.schema
+@@ -32,7 +26,7 @@
+ pidfile /var/run/ldap/slapd.pid
+ argsfile /var/run/ldap/slapd.args
+
+-modulepath &lt;%= path_module_directory %&gt;
++modulepath &lt;%= lib_dir %&gt;/openldap
+ moduleload back_monitor.la
+ moduleload syncprov.la
+ moduleload ppolicy.la
+
+Modified: puppet/modules/openssh/manifests/init.pp
+===================================================================
+--- puppet/modules/openssh/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/openssh/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,13 +1,8 @@
+ class openssh {
+
+ # some trick to manage sftp server, who is arch dependent on mdv
+- $usr_lib = $architecture ? {
+- x86_64 =&gt; &quot;lib64&quot;,
+- default =&gt; &quot;lib&quot;
+- }
++ $path_to_sftp = &quot;$lib_dir/ssh/&quot;
+
+- $path_to_sftp = &quot;/usr/$usr_lib/ssh/&quot;
+-
+ package { &quot;openssh-server&quot;:
+ ensure =&gt; installed
+ }
+
+Modified: puppet/modules/pam/templates/ldap.conf
+===================================================================
+--- puppet/modules/pam/templates/ldap.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/pam/templates/ldap.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,6 +1,3 @@
+-&lt;%
+-dc_suffix = 'dc=' + domain.gsub('.',',dc=')
+-%&gt;
+
+ uri <A HREF="ldap://ldap.&lt;%=">ldap://ldap.&lt;%=</A> domain %&gt;
+ base &lt;%= dc_suffix %&gt;
+
+Modified: puppet/modules/postfix/templates/main.cf
+===================================================================
+--- puppet/modules/postfix/templates/main.cf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/postfix/templates/main.cf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -3,9 +3,6 @@
+ # This file contains only the parameters changed from a default install
+ # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
+
+-&lt;%
+-path_daemon_directory = &quot;/usr/lib&quot; + ( architecture == &quot;x86_64&quot; ? '64' : '') + &quot;/postfix/&quot;
+-%&gt;
+
+ # These are changed by postfix install script
+ readme_directory = /usr/share/doc/postfix/README_FILES
+@@ -14,7 +11,7 @@
+ setgid_group = postdrop
+ command_directory = /usr/sbin
+ manpage_directory = /usr/share/man
+-daemon_directory = &lt;%= path_daemon_directory %&gt;
++daemon_directory = &lt;%= lib_dir %&gt;/postfix/
+ data_directory = /var/lib/postfix
+ newaliases_path = /usr/bin/newaliases
+ mailq_path = /usr/bin/mailq
+
+Modified: puppet/modules/postfix/templates/simple_relay_main.cf
+===================================================================
+--- puppet/modules/postfix/templates/simple_relay_main.cf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/postfix/templates/simple_relay_main.cf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -3,9 +3,6 @@
+ # This file contains only the parameters changed from a default install
+ # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
+
+-&lt;%
+-path_daemon_directory = &quot;/usr/lib&quot; + ( architecture == &quot;x86_64&quot; ? '64' : '') + &quot;/postfix/&quot;
+-%&gt;
+
+ # These are changed by postfix install script
+ readme_directory = /usr/share/doc/postfix/README_FILES
+@@ -14,7 +11,7 @@
+ setgid_group = postdrop
+ command_directory = /usr/sbin
+ manpage_directory = /usr/share/man
+-daemon_directory = &lt;%= path_daemon_directory %&gt;
++daemon_directory = &lt;%= lib_dir %&gt;/postfix/
+ data_directory = /var/lib/postfix
+ newaliases_path = /usr/bin/newaliases
+ mailq_path = /usr/bin/mailq
+
+Modified: puppet/modules/restrictshell/templates/ldap-sshkey2file.py
+===================================================================
+--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-20 11:52:54 UTC (rev 340)
+@@ -9,9 +9,7 @@
+ except ImportError, e:
+ print &quot;Please install python-ldap before running this program&quot;
+ sys.exit(1)
+-&lt;%
+-dc_suffix = 'dc=' + domain.gsub('.',',dc=')
+-%&gt;
++
+ basedn=&quot;&lt;%= dc_suffix %&gt;&quot;
+ peopledn=&quot;ou=people,%s&quot; % basedn
+ uris=['<A HREF="ldap://ldap.&lt;%=">ldap://ldap.&lt;%=</A> domain %&gt;']
+
+Modified: puppet/modules/sympa/manifests/init.pp
+===================================================================
+--- puppet/modules/sympa/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/sympa/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -11,9 +11,11 @@
+
+ file { '/etc/sympa/sympa.conf':
+ ensure =&gt; present,
+- owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 644,
++ # should be cleaner to have it root owned, but puppet do not support acl
++ # and in any case, config will be reset if it change
++ owner =&gt; sympa,
++ group =&gt; apache,
++ mode =&gt; 640,
+ content =&gt; template(&quot;sympa/sympa.conf&quot;)
+ }
+
+
+Modified: puppet/modules/sympa/templates/auth.conf
+===================================================================
+--- puppet/modules/sympa/templates/auth.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/sympa/templates/auth.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -1,13 +1,13 @@
+ ldap
+- host ldap.mageia.org:389
++ host ldap.&lt;%= domain %&gt;:389
+ timeout 30
+- suffix dc=mageia,dc=org
++ suffix &lt;%= dc_suffix %&gt;
+ get_dn_by_uid_filter (uid=[sender])
+ get_dn_by_email (|(mail=[sender])(mailalternateaddress=[sender]))
+ email_attribute mail
+ scope sub
++ use_ssl 1
+
+-
+ user_table
+ regexp .*
+
+
+Modified: puppet/modules/transifex/manifests/init.pp
+===================================================================
+--- puppet/modules/transifex/manifests/init.pp 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/transifex/manifests/init.pp 2010-11-20 11:52:54 UTC (rev 340)
+@@ -8,8 +8,8 @@
+ path =&gt; &quot;/etc/transifex/20-engines.conf&quot;,
+ ensure =&gt; present,
+ owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 755,
++ group =&gt; apache,
++ mode =&gt; 640,
+ content =&gt; template(&quot;transifex/20-engines.conf&quot;)
+ }
+
+@@ -18,7 +18,7 @@
+ ensure =&gt; present,
+ owner =&gt; root,
+ group =&gt; root,
+- mode =&gt; 755,
++ mode =&gt; 644,
+ content =&gt; template(&quot;transifex/30-site.conf&quot;)
+ }
+
+
+Modified: puppet/modules/transifex/templates/20-engines.conf
+===================================================================
+--- puppet/modules/transifex/templates/20-engines.conf 2010-11-20 11:15:06 UTC (rev 339)
++++ puppet/modules/transifex/templates/20-engines.conf 2010-11-20 11:52:54 UTC (rev 340)
+@@ -10,7 +10,7 @@
+ # The following are not used for sqlite3
+ DATABASE_USER = 'transifex'
+ DATABASE_PASSWORD = '&lt;%= password %&gt;'
+-DATABASE_HOST = 'pgsql.mageia.org' # Set to empty string for local socket
++DATABASE_HOST = 'pgsql.&lt;%= domain %&gt;' # Set to empty string for local socket
+ DATABASE_PORT = '' # Set to empty string for default
+
+ ## Caching (optional)
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101120/825456eb/attachment-0001.html&gt;
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000682.html">[Mageia-sysadm] [339] Merge remote branch 'vm_valstar/master'
+</A></li>
+ <LI>Next message: <A HREF="000684.html">[Mageia-sysadm] [340] Merge remote branch 'vm_valstar/master'
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#683">[ date ]</a>
+ <a href="thread.html#683">[ thread ]</a>
+ <a href="subject.html#683">[ subject ]</a>
+ <a href="author.html#683">[ 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>