diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/attachments/20101117 | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-sysadm/attachments/20101117')
24 files changed, 2994 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment-0001.html new file mode 100644 index 000000000..db2a7a0ba --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment-0001.html @@ -0,0 +1,252 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[265] - add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>265</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:35:10 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesapachetemplatesvhost_catalyst_appconf">puppet/modules/apache/templates/vhost_catalyst_app.conf</a></li> +<li><a href="#puppetmodulesapachetemplatesvhost_django_appconf">puppet/modules/apache/templates/vhost_django_app.conf</a></li> +<li><a href="#puppetmodulesbuildsystemmanifestsinitpp">puppet/modules/buildsystem/manifests/init.pp</a></li> +<li><a href="#puppetmodulespostfixmanifestsinitpp">puppet/modules/postfix/manifests/init.pp</a></li> +<li><a href="#puppetmodulestransifexmanifestsinitpp">puppet/modules/transifex/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li>puppet/modules/pam/</li> +<li>puppet/modules/pam/manifests/</li> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +<li>puppet/modules/pam/templates/</li> +<li><a href="#puppetmodulespamtemplatessystemauth">puppet/modules/pam/templates/system-auth</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesapachetemplatesvhost_catalyst_appconf">Modified: puppet/modules/apache/templates/vhost_catalyst_app.conf</a> +=================================================================== +--- puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-17 15:35:10 UTC (rev 265) +@@ -15,6 +15,8 @@ + ServerName <%= name %> + # Serve static content directly + DocumentRoot /dev/null ++# header ++ + <% if location then %> + Alias /static <%= location %>/root/static + <% end %> + +<a id="puppetmodulesapachetemplatesvhost_django_appconf">Modified: puppet/modules/apache/templates/vhost_django_app.conf</a> +=================================================================== +--- puppet/modules/apache/templates/vhost_django_app.conf 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/apache/templates/vhost_django_app.conf 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,7 +4,7 @@ + DocumentRoot /dev/null + + WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi +- ++#footer + <Location /> + Allow from all + </Location> + +<a id="puppetmodulesbuildsystemmanifestsinitpp">Modified: puppet/modules/buildsystem/manifests/init.pp</a> +=================================================================== +--- puppet/modules/buildsystem/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/buildsystem/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,6 +4,22 @@ + include iurt + } + ++ class scheduler { ++ # ulri ++ } ++ ++ class dispatcher { ++ # emi ++ } ++ ++ class repsys { ++ package { 'repsys': ++ ++ } ++ ++ ++ } ++ + class iurt { + include sudo + + +<a id="puppetmodulespammanifestsinitpp">Added: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp (rev 0) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -0,0 +1,27 @@ ++class pam { ++ ++ package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: ++ ensure => installed, ++ } ++ ++ ++ file { "system-auth": ++ path => "/etc/pam.d/system-auth", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("openldap/system-auth") ++ } ++ ++ # for server where only admin can connect ++ class admin_access { ++ $access_class = "admin" ++ file { "system-auth": } ++ } ++ ++ # for server where people can connect with ssh ( git, svn ) ++ class commiters_access { ++ $access_class = "commiters" ++ file { "system-auth": } ++ } ++} + +<a id="puppetmodulespamtemplatessystemauth">Added: puppet/modules/pam/templates/system-auth</a> +=================================================================== +--- puppet/modules/pam/templates/system-auth (rev 0) ++++ puppet/modules/pam/templates/system-auth 2010-11-17 15:35:10 UTC (rev 265) +@@ -0,0 +1,35 @@ ++auth required pam_env.so ++# this part is here if the module don't exist ++# basically, the idea is to copy the exact detail of sufficient, ++# and add abort=ignore ++auth [abort=ignore success=done new_authtok_reqd=done default=ignore] pam_tcb.so shadow fork nullok prefix=$2a$ count=8 ++auth sufficient pam_unix.so likeauth nullok ++auth sufficient pam_ldap.so use_first_pass ++<% if access_class = 'admin' %> ++auth required pam_wheel.so group=mga-sysadmin ++<% end %> ++<% if access_class = 'commiters' %> ++auth required pam_wheel.so group=mga-commiters ++<% end %> ++auth required pam_deny.so ++ ++ ++account sufficient pam_localuser.so ++account sufficient pam_ldap.so ++account required pam_deny.so ++ ++ ++password required pam_cracklib.so retry=3 minlen=8 dcredit=-1 ucredit=-1 ocredit=-1 lcredit=-1 dcredit=0 ucredit=0 ucredit=0 ++# TODO check this part too ++password sufficient pam_tcb.so use_authtok shadow write_to=shadow fork nullok prefix=$2a$ count=8 abort=ignore ++password sufficient pam_ldap.so use_authtok ++password sufficient pam_unix.so use_authtok nullok md5 shadow ++password required pam_deny.so ++ ++session optional pam_keyinit.so revoke ++# optional if there is a problem when creating the account ++session optional pam_mkhomedir.so ++session required pam_limits.so ++session required pam_unix.so ++session optional pam_ldap.so ++ + +<a id="puppetmodulespostfixmanifestsinitpp">Modified: puppet/modules/postfix/manifests/init.pp</a> +=================================================================== +--- puppet/modules/postfix/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/postfix/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,7 +4,7 @@ + package { postfix: + ensure => installed + } +- package { 'nail': ++ package { 'nail': + ensure => installed + } + service { postfix: +@@ -30,4 +30,17 @@ + content => template("postfix/simple_relay_main.cf"), + } + } ++ ++ class primary_smtp inherits base { ++ file { '/etc/postfix/main.cf': ++ content => template("postfix/primary_main.cf"), ++ } ++ } ++ ++ class secondary_smtp inherits base { ++ file { '/etc/postfix/main.cf': ++ content => template("postfix/secondary_main.cf"), ++ } ++ } ++ + } + +<a id="puppetmodulestransifexmanifestsinitpp">Modified: puppet/modules/transifex/manifests/init.pp</a> +=================================================================== +--- puppet/modules/transifex/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/transifex/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -12,4 +12,8 @@ + mode => 755, + content => template("transifex/20-engines.conf") + } ++ ++ apache::vhost_django_app { "transifex.$domain": ++ module => "transifex" ++ } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment.html new file mode 100644 index 000000000..db2a7a0ba --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/15a9175d/attachment.html @@ -0,0 +1,252 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[265] - add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>265</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:35:10 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesapachetemplatesvhost_catalyst_appconf">puppet/modules/apache/templates/vhost_catalyst_app.conf</a></li> +<li><a href="#puppetmodulesapachetemplatesvhost_django_appconf">puppet/modules/apache/templates/vhost_django_app.conf</a></li> +<li><a href="#puppetmodulesbuildsystemmanifestsinitpp">puppet/modules/buildsystem/manifests/init.pp</a></li> +<li><a href="#puppetmodulespostfixmanifestsinitpp">puppet/modules/postfix/manifests/init.pp</a></li> +<li><a href="#puppetmodulestransifexmanifestsinitpp">puppet/modules/transifex/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li>puppet/modules/pam/</li> +<li>puppet/modules/pam/manifests/</li> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +<li>puppet/modules/pam/templates/</li> +<li><a href="#puppetmodulespamtemplatessystemauth">puppet/modules/pam/templates/system-auth</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesapachetemplatesvhost_catalyst_appconf">Modified: puppet/modules/apache/templates/vhost_catalyst_app.conf</a> +=================================================================== +--- puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-17 15:35:10 UTC (rev 265) +@@ -15,6 +15,8 @@ + ServerName <%= name %> + # Serve static content directly + DocumentRoot /dev/null ++# header ++ + <% if location then %> + Alias /static <%= location %>/root/static + <% end %> + +<a id="puppetmodulesapachetemplatesvhost_django_appconf">Modified: puppet/modules/apache/templates/vhost_django_app.conf</a> +=================================================================== +--- puppet/modules/apache/templates/vhost_django_app.conf 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/apache/templates/vhost_django_app.conf 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,7 +4,7 @@ + DocumentRoot /dev/null + + WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi +- ++#footer + <Location /> + Allow from all + </Location> + +<a id="puppetmodulesbuildsystemmanifestsinitpp">Modified: puppet/modules/buildsystem/manifests/init.pp</a> +=================================================================== +--- puppet/modules/buildsystem/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/buildsystem/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,6 +4,22 @@ + include iurt + } + ++ class scheduler { ++ # ulri ++ } ++ ++ class dispatcher { ++ # emi ++ } ++ ++ class repsys { ++ package { 'repsys': ++ ++ } ++ ++ ++ } ++ + class iurt { + include sudo + + +<a id="puppetmodulespammanifestsinitpp">Added: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp (rev 0) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -0,0 +1,27 @@ ++class pam { ++ ++ package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: ++ ensure => installed, ++ } ++ ++ ++ file { "system-auth": ++ path => "/etc/pam.d/system-auth", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("openldap/system-auth") ++ } ++ ++ # for server where only admin can connect ++ class admin_access { ++ $access_class = "admin" ++ file { "system-auth": } ++ } ++ ++ # for server where people can connect with ssh ( git, svn ) ++ class commiters_access { ++ $access_class = "commiters" ++ file { "system-auth": } ++ } ++} + +<a id="puppetmodulespamtemplatessystemauth">Added: puppet/modules/pam/templates/system-auth</a> +=================================================================== +--- puppet/modules/pam/templates/system-auth (rev 0) ++++ puppet/modules/pam/templates/system-auth 2010-11-17 15:35:10 UTC (rev 265) +@@ -0,0 +1,35 @@ ++auth required pam_env.so ++# this part is here if the module don't exist ++# basically, the idea is to copy the exact detail of sufficient, ++# and add abort=ignore ++auth [abort=ignore success=done new_authtok_reqd=done default=ignore] pam_tcb.so shadow fork nullok prefix=$2a$ count=8 ++auth sufficient pam_unix.so likeauth nullok ++auth sufficient pam_ldap.so use_first_pass ++<% if access_class = 'admin' %> ++auth required pam_wheel.so group=mga-sysadmin ++<% end %> ++<% if access_class = 'commiters' %> ++auth required pam_wheel.so group=mga-commiters ++<% end %> ++auth required pam_deny.so ++ ++ ++account sufficient pam_localuser.so ++account sufficient pam_ldap.so ++account required pam_deny.so ++ ++ ++password required pam_cracklib.so retry=3 minlen=8 dcredit=-1 ucredit=-1 ocredit=-1 lcredit=-1 dcredit=0 ucredit=0 ucredit=0 ++# TODO check this part too ++password sufficient pam_tcb.so use_authtok shadow write_to=shadow fork nullok prefix=$2a$ count=8 abort=ignore ++password sufficient pam_ldap.so use_authtok ++password sufficient pam_unix.so use_authtok nullok md5 shadow ++password required pam_deny.so ++ ++session optional pam_keyinit.so revoke ++# optional if there is a problem when creating the account ++session optional pam_mkhomedir.so ++session required pam_limits.so ++session required pam_unix.so ++session optional pam_ldap.so ++ + +<a id="puppetmodulespostfixmanifestsinitpp">Modified: puppet/modules/postfix/manifests/init.pp</a> +=================================================================== +--- puppet/modules/postfix/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/postfix/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -4,7 +4,7 @@ + package { postfix: + ensure => installed + } +- package { 'nail': ++ package { 'nail': + ensure => installed + } + service { postfix: +@@ -30,4 +30,17 @@ + content => template("postfix/simple_relay_main.cf"), + } + } ++ ++ class primary_smtp inherits base { ++ file { '/etc/postfix/main.cf': ++ content => template("postfix/primary_main.cf"), ++ } ++ } ++ ++ class secondary_smtp inherits base { ++ file { '/etc/postfix/main.cf': ++ content => template("postfix/secondary_main.cf"), ++ } ++ } ++ + } + +<a id="puppetmodulestransifexmanifestsinitpp">Modified: puppet/modules/transifex/manifests/init.pp</a> +=================================================================== +--- puppet/modules/transifex/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) ++++ puppet/modules/transifex/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) +@@ -12,4 +12,8 @@ + mode => 755, + content => template("transifex/20-engines.conf") + } ++ ++ apache::vhost_django_app { "transifex.$domain": ++ module => "transifex" ++ } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment-0001.html new file mode 100644 index 000000000..67aa89239 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment-0001.html @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[259] Comment MX entries this breaks alamut</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>259</dd> +<dt>Author</dt> <dd>dmorgan</dd> +<dt>Date</dt> <dd>2010-11-17 02:19:19 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>Comment MX entries this breaks alamut</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-16 16:05:30 UTC (rev 258) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:19:19 UTC (rev 259) +@@ -17,8 +17,8 @@ + @ IN MX 10 mx0.zarb.org. + @ IN MX 20 mx1.zarb.org. + +-ml IN MX 10 alamut.mageia.org. +-ml IN MX 20 krampouezh.mageia.org. ++;ml IN MX 10 alamut.mageia.org. ++;ml IN MX 20 krampouezh.mageia.org. + + ; MX + ;@ IN MX 10 mx0.zarb.org. + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment.html new file mode 100644 index 000000000..67aa89239 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/26acb749/attachment.html @@ -0,0 +1,79 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[259] Comment MX entries this breaks alamut</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>259</dd> +<dt>Author</dt> <dd>dmorgan</dd> +<dt>Date</dt> <dd>2010-11-17 02:19:19 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>Comment MX entries this breaks alamut</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-16 16:05:30 UTC (rev 258) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:19:19 UTC (rev 259) +@@ -17,8 +17,8 @@ + @ IN MX 10 mx0.zarb.org. + @ IN MX 20 mx1.zarb.org. + +-ml IN MX 10 alamut.mageia.org. +-ml IN MX 20 krampouezh.mageia.org. ++;ml IN MX 10 alamut.mageia.org. ++;ml IN MX 20 krampouezh.mageia.org. + + ; MX + ;@ IN MX 10 mx0.zarb.org. + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment-0001.html new file mode 100644 index 000000000..10633dfc4 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment-0001.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[267] - fix templates</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>267</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:50:32 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- fix templates +- add nsswitch.conf</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulespamtemplatesnsswitchconf">puppet/modules/pam/templates/nsswitch.conf</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:45:22 UTC (rev 266) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:50:32 UTC (rev 267) +@@ -10,8 +10,16 @@ + owner => root, + group => root, + mode => 644, +- content => template("openldap/system-auth") ++ content => template("pam/system-auth") + } ++ ++ file { "nsswitch.conf": ++ path => "/etc/nsswitch.conf", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("pam/system-auth") ++ } + } + + # for server where only admin can connect + +<a id="puppetmodulespamtemplatesnsswitchconf">Added: puppet/modules/pam/templates/nsswitch.conf</a> +=================================================================== +--- puppet/modules/pam/templates/nsswitch.conf (rev 0) ++++ puppet/modules/pam/templates/nsswitch.conf 2010-11-17 15:50:32 UTC (rev 267) +@@ -0,0 +1,16 @@ ++passwd: files ldap [UNAVAIL=return] ++shadow: files ldap [UNAVAIL=return] ++group: files ldap [UNAVAIL=return] ++hosts: files mdns4_minimal [NOTFOUND=return] dns ++bootparams: files ++ethers: files ++netmasks: files ++networks: files ++protocols: files ++rpc: files ++services: files ++netgroup: files ldap ++publickey: files ++automount: files ++aliases: files ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment.html new file mode 100644 index 000000000..10633dfc4 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/28939af9/attachment.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[267] - fix templates</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>267</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:50:32 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- fix templates +- add nsswitch.conf</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulespamtemplatesnsswitchconf">puppet/modules/pam/templates/nsswitch.conf</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:45:22 UTC (rev 266) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:50:32 UTC (rev 267) +@@ -10,8 +10,16 @@ + owner => root, + group => root, + mode => 644, +- content => template("openldap/system-auth") ++ content => template("pam/system-auth") + } ++ ++ file { "nsswitch.conf": ++ path => "/etc/nsswitch.conf", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("pam/system-auth") ++ } + } + + # for server where only admin can connect + +<a id="puppetmodulespamtemplatesnsswitchconf">Added: puppet/modules/pam/templates/nsswitch.conf</a> +=================================================================== +--- puppet/modules/pam/templates/nsswitch.conf (rev 0) ++++ puppet/modules/pam/templates/nsswitch.conf 2010-11-17 15:50:32 UTC (rev 267) +@@ -0,0 +1,16 @@ ++passwd: files ldap [UNAVAIL=return] ++shadow: files ldap [UNAVAIL=return] ++group: files ldap [UNAVAIL=return] ++hosts: files mdns4_minimal [NOTFOUND=return] dns ++bootparams: files ++ethers: files ++netmasks: files ++networks: files ++protocols: files ++rpc: files ++services: files ++netgroup: files ldap ++publickey: files ++automount: files ++aliases: files ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment-0001.html new file mode 100644 index 000000000..1ebb55ec2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment-0001.html @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[270] - oups, revert wrongly commited work in progress :/</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>270</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 21:43:29 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- oups, revert wrongly commited work in progress :/</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesapachetemplatesdjangowsgi">puppet/modules/apache/templates/django.wsgi</a></li> +<li><a href="#puppetmodulestransifexmanifestsinitpp">puppet/modules/transifex/manifests/init.pp</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesapachetemplatesdjangowsgi">Modified: puppet/modules/apache/templates/django.wsgi</a> +=================================================================== +--- puppet/modules/apache/templates/django.wsgi 2010-11-17 16:25:42 UTC (rev 269) ++++ puppet/modules/apache/templates/django.wsgi 2010-11-17 20:43:29 UTC (rev 270) +@@ -1,7 +1,7 @@ + #!/usr/bin/python + import os, sys + sys.path.append('<%= module_path %>') +-os.environ['DJANGO_SETTINGS_MODULE'] = '<%= module =%>.settings' ++os.environ['DJANGO_SETTINGS_MODULE'] = '<%= module %>.settings' + + import django.core.handlers.wsgi + + +<a id="puppetmodulestransifexmanifestsinitpp">Modified: puppet/modules/transifex/manifests/init.pp</a> +=================================================================== +--- puppet/modules/transifex/manifests/init.pp 2010-11-17 16:25:42 UTC (rev 269) ++++ puppet/modules/transifex/manifests/init.pp 2010-11-17 20:43:29 UTC (rev 270) +@@ -13,7 +13,7 @@ + content => template("transifex/20-engines.conf") + } + +- apache::vhost_django_app { "transifex.$domain": +- module => "transifex" +- } ++# apache::vhost_django_app { "transifex.$domain": ++# module => "transifex" ++# } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment.html new file mode 100644 index 000000000..1ebb55ec2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/3d5711c6/attachment.html @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[270] - oups, revert wrongly commited work in progress :/</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>270</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 21:43:29 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- oups, revert wrongly commited work in progress :/</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesapachetemplatesdjangowsgi">puppet/modules/apache/templates/django.wsgi</a></li> +<li><a href="#puppetmodulestransifexmanifestsinitpp">puppet/modules/transifex/manifests/init.pp</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesapachetemplatesdjangowsgi">Modified: puppet/modules/apache/templates/django.wsgi</a> +=================================================================== +--- puppet/modules/apache/templates/django.wsgi 2010-11-17 16:25:42 UTC (rev 269) ++++ puppet/modules/apache/templates/django.wsgi 2010-11-17 20:43:29 UTC (rev 270) +@@ -1,7 +1,7 @@ + #!/usr/bin/python + import os, sys + sys.path.append('<%= module_path %>') +-os.environ['DJANGO_SETTINGS_MODULE'] = '<%= module =%>.settings' ++os.environ['DJANGO_SETTINGS_MODULE'] = '<%= module %>.settings' + + import django.core.handlers.wsgi + + +<a id="puppetmodulestransifexmanifestsinitpp">Modified: puppet/modules/transifex/manifests/init.pp</a> +=================================================================== +--- puppet/modules/transifex/manifests/init.pp 2010-11-17 16:25:42 UTC (rev 269) ++++ puppet/modules/transifex/manifests/init.pp 2010-11-17 20:43:29 UTC (rev 270) +@@ -13,7 +13,7 @@ + content => template("transifex/20-engines.conf") + } + +- apache::vhost_django_app { "transifex.$domain": +- module => "transifex" +- } ++# apache::vhost_django_app { "transifex.$domain": ++# module => "transifex" ++# } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment-0001.html new file mode 100644 index 000000000..f966dc48c --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment-0001.html @@ -0,0 +1,110 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[266] - better use heritance</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>266</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:45:22 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- better use heritance</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:45:22 UTC (rev 266) +@@ -1,26 +1,28 @@ + class pam { + +- package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: +- ensure => installed, +- } ++ class base { ++ package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: ++ ensure => installed, ++ } + +- +- file { "system-auth": +- path => "/etc/pam.d/system-auth", +- owner => root, +- group => root, +- mode => 644, +- content => template("openldap/system-auth") +- } ++ file { "system-auth": ++ path => "/etc/pam.d/system-auth", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("openldap/system-auth") ++ } ++ } + + # for server where only admin can connect +- class admin_access { ++ class admin_access inherits base { + $access_class = "admin" ++ # not sure if this line is needed anymore, wil check later + file { "system-auth": } + } + + # for server where people can connect with ssh ( git, svn ) +- class commiters_access { ++ class commiters_access inherits base { + $access_class = "commiters" + file { "system-auth": } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment.html new file mode 100644 index 000000000..f966dc48c --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/59a666cc/attachment.html @@ -0,0 +1,110 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[266] - better use heritance</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>266</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:45:22 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- better use heritance</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:35:10 UTC (rev 265) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 15:45:22 UTC (rev 266) +@@ -1,26 +1,28 @@ + class pam { + +- package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: +- ensure => installed, +- } ++ class base { ++ package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]: ++ ensure => installed, ++ } + +- +- file { "system-auth": +- path => "/etc/pam.d/system-auth", +- owner => root, +- group => root, +- mode => 644, +- content => template("openldap/system-auth") +- } ++ file { "system-auth": ++ path => "/etc/pam.d/system-auth", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("openldap/system-auth") ++ } ++ } + + # for server where only admin can connect +- class admin_access { ++ class admin_access inherits base { + $access_class = "admin" ++ # not sure if this line is needed anymore, wil check later + file { "system-auth": } + } + + # for server where people can connect with ssh ( git, svn ) +- class commiters_access { ++ class commiters_access inherits base { + $access_class = "commiters" + file { "system-auth": } + } + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment-0001.html new file mode 100644 index 000000000..036cfce23 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment-0001.html @@ -0,0 +1,77 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[260] Increase serial</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>260</dd> +<dt>Author</dt> <dd>dmorgan</dd> +<dt>Date</dt> <dd>2010-11-17 02:22:36 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>Increase serial</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:19:19 UTC (rev 259) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:22:36 UTC (rev 260) +@@ -3,7 +3,7 @@ + ; $Id$ + $TTL 3D + @ IN SOA ns0.mageia.org. root.mageia.org. ( +- 2010111600 ; Serial ++ 2010111700 ; Serial + 21600 ; Refresh + 3600 ; Retry + 2419200 ; Expire + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment.html new file mode 100644 index 000000000..036cfce23 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/5ce86052/attachment.html @@ -0,0 +1,77 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[260] Increase serial</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>260</dd> +<dt>Author</dt> <dd>dmorgan</dd> +<dt>Date</dt> <dd>2010-11-17 02:22:36 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>Increase serial</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:19:19 UTC (rev 259) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:22:36 UTC (rev 260) +@@ -3,7 +3,7 @@ + ; $Id$ + $TTL 3D + @ IN SOA ns0.mageia.org. root.mageia.org. ( +- 2010111600 ; Serial ++ 2010111700 ; Serial + 21600 ; Refresh + 3600 ; Retry + 2419200 ; Expire + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment-0001.html new file mode 100644 index 000000000..8d61c5bab --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment-0001.html @@ -0,0 +1,98 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[264] update binddn and password file</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>264</dd> +<dt>Author</dt> <dd>boklm</dd> +<dt>Date</dt> <dd>2010-11-17 16:13:07 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>update binddn and password file</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:28:30 UTC (rev 263) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) +@@ -1,10 +1,11 @@ +-#TODO: add support for pkgsubmit + class restrictshell { + $allow_svn = "0" + $allow_git = "0" + $allow_rsync = "0" + $allow_pkgsubmit = "0" + ++ $ldap_pwfile = "/etc/ldap.secret" ++ + class allow_svn_git_pkgsubmit { + $allow_svn = "1" + $allow_git = "1" + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Modified: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:28:30 UTC (rev 263) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 15:13:07 UTC (rev 264) +@@ -18,8 +18,8 @@ + random.shuffle(uris) + uri = " ".join(uris) + timeout=5 +-binddn="uid=sshkeyreader,ou=System Accounts,%s" % basedn +-pwfile="/etc/sshkeyreader.pw" ++binddn="cn=<%= fqdn %>,ou=Hosts," % basedn ++pwfile="<%= ldap_pwfile %>" + # filter out disabled accounts also + # too bad uidNumber doesn't support >= filters + filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment.html new file mode 100644 index 000000000..8d61c5bab --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/9a3e1b4a/attachment.html @@ -0,0 +1,98 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[264] update binddn and password file</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>264</dd> +<dt>Author</dt> <dd>boklm</dd> +<dt>Date</dt> <dd>2010-11-17 16:13:07 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>update binddn and password file</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:28:30 UTC (rev 263) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 15:13:07 UTC (rev 264) +@@ -1,10 +1,11 @@ +-#TODO: add support for pkgsubmit + class restrictshell { + $allow_svn = "0" + $allow_git = "0" + $allow_rsync = "0" + $allow_pkgsubmit = "0" + ++ $ldap_pwfile = "/etc/ldap.secret" ++ + class allow_svn_git_pkgsubmit { + $allow_svn = "1" + $allow_git = "1" + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Modified: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:28:30 UTC (rev 263) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 15:13:07 UTC (rev 264) +@@ -18,8 +18,8 @@ + random.shuffle(uris) + uri = " ".join(uris) + timeout=5 +-binddn="uid=sshkeyreader,ou=System Accounts,%s" % basedn +-pwfile="/etc/sshkeyreader.pw" ++binddn="cn=<%= fqdn %>,ou=Hosts," % basedn ++pwfile="<%= ldap_pwfile %>" + # filter out disabled accounts also + # too bad uidNumber doesn't support >= filters + filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment-0001.html new file mode 100644 index 000000000..75a4dd768 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment-0001.html @@ -0,0 +1,119 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[269] - fix templates ( again )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>269</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 17:25:42 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- fix templates ( again ) +- add ldap.conf </pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulespamtemplatesldapconf">puppet/modules/pam/templates/ldap.conf</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:58:10 UTC (rev 268) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 16:25:42 UTC (rev 269) +@@ -18,8 +18,15 @@ + owner => root, + group => root, + mode => 644, +- content => template("pam/system-auth") ++ content => template("pam/nsswitch.conf") + } ++ file { "ldap.conf": ++ path => "/etc/ldap.conf", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("pam/ldap.conf") ++ } + } + + # for server where only admin can connect + +<a id="puppetmodulespamtemplatesldapconf">Added: puppet/modules/pam/templates/ldap.conf</a> +=================================================================== +--- puppet/modules/pam/templates/ldap.conf (rev 0) ++++ puppet/modules/pam/templates/ldap.conf 2010-11-17 16:25:42 UTC (rev 269) +@@ -0,0 +1,22 @@ ++<% ++dc_suffix = 'dc=' + domain.gsub('.',',dc=') ++%> ++ ++uri ldap://ldap.<%= domain %> ++base <%= dc_suffix %> ++pam_lookup_policy no ++pam_password exop ++nss_base_passwd ou=People,<%= dc_suffix %>?one ++nss_base_shadow ou=People,<%= dc_suffix %>?one ++nss_base_group ou=Group,<%= dc_suffix %>?one ++ ++nss_schema rfc2307bis ++nss_map_attribute uniqueMember member ++sudoers_base ou=sudoers,<%= dc_suffix %> ++#sudoers_debug 2 ++ ++<% if access_class = 'commiters' %> ++# for restricted access ++nss_override_attribute_value loginShell /usr/local/bin/sv_membersh.pl ++<% end %> ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment.html new file mode 100644 index 000000000..75a4dd768 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/9b32b042/attachment.html @@ -0,0 +1,119 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[269] - fix templates ( again )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>269</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 17:25:42 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- fix templates ( again ) +- add ldap.conf </pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulespammanifestsinitpp">puppet/modules/pam/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulespamtemplatesldapconf">puppet/modules/pam/templates/ldap.conf</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespammanifestsinitpp">Modified: puppet/modules/pam/manifests/init.pp</a> +=================================================================== +--- puppet/modules/pam/manifests/init.pp 2010-11-17 15:58:10 UTC (rev 268) ++++ puppet/modules/pam/manifests/init.pp 2010-11-17 16:25:42 UTC (rev 269) +@@ -18,8 +18,15 @@ + owner => root, + group => root, + mode => 644, +- content => template("pam/system-auth") ++ content => template("pam/nsswitch.conf") + } ++ file { "ldap.conf": ++ path => "/etc/ldap.conf", ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("pam/ldap.conf") ++ } + } + + # for server where only admin can connect + +<a id="puppetmodulespamtemplatesldapconf">Added: puppet/modules/pam/templates/ldap.conf</a> +=================================================================== +--- puppet/modules/pam/templates/ldap.conf (rev 0) ++++ puppet/modules/pam/templates/ldap.conf 2010-11-17 16:25:42 UTC (rev 269) +@@ -0,0 +1,22 @@ ++<% ++dc_suffix = 'dc=' + domain.gsub('.',',dc=') ++%> ++ ++uri ldap://ldap.<%= domain %> ++base <%= dc_suffix %> ++pam_lookup_policy no ++pam_password exop ++nss_base_passwd ou=People,<%= dc_suffix %>?one ++nss_base_shadow ou=People,<%= dc_suffix %>?one ++nss_base_group ou=Group,<%= dc_suffix %>?one ++ ++nss_schema rfc2307bis ++nss_map_attribute uniqueMember member ++sudoers_base ou=sudoers,<%= dc_suffix %> ++#sudoers_debug 2 ++ ++<% if access_class = 'commiters' %> ++# for restricted access ++nss_override_attribute_value loginShell /usr/local/bin/sv_membersh.pl ++<% end %> ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment-0001.html new file mode 100644 index 000000000..da531e8ea --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment-0001.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[263] - adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key ) </title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>263</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 15:28:30 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key ) </pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:17:29 UTC (rev 262) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:28:30 UTC (rev 263) +@@ -31,6 +31,14 @@ + ensure => installed, + } + ++ $pubkeys_directory = "/var/lib/pubkeys" ++ file { $pubkeys_directory: ++ ensure => directory, ++ owner => root, ++ group => root, ++ mode => 755, ++ } ++ + file { '/usr/local/bin/ldap-sshkey2file.py': + ensure => present, + owner => root, + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Modified: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:17:29 UTC (rev 262) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:28:30 UTC (rev 263) +@@ -9,10 +9,12 @@ + except ImportError, e: + print "Please install python-ldap before running this program" + sys.exit(1) +- +-basedn="dc=mandriva,dc=com" ++<% ++dc_suffix = 'dc=' + domain.gsub('.',',dc=') ++%> ++basedn="<%= dc_suffix %>" + peopledn="ou=people,%s" % basedn +-uris=['ldap://kenobi.mandriva.com','ldap://svn.mandriva.com'] ++uris=['ldap://ldap.<%= domain %>'] + random.shuffle(uris) + uri = " ".join(uris) + timeout=5 +@@ -21,7 +23,7 @@ + # filter out disabled accounts also + # too bad uidNumber doesn't support >= filters + filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" +-keypathprefix="/var/lib/config/pubkeys" ++keypathprefix="<%= pubkeys_directory %>" + + def usage(): + print "%s" % sys.argv[0] + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment.html new file mode 100644 index 000000000..da531e8ea --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/dbbd1aef/attachment.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[263] - adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key ) </title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>263</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 15:28:30 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- adapt the script to our infrastructure ( ie, use our domain, and create the directory holding the key ) </pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:17:29 UTC (rev 262) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:28:30 UTC (rev 263) +@@ -31,6 +31,14 @@ + ensure => installed, + } + ++ $pubkeys_directory = "/var/lib/pubkeys" ++ file { $pubkeys_directory: ++ ensure => directory, ++ owner => root, ++ group => root, ++ mode => 755, ++ } ++ + file { '/usr/local/bin/ldap-sshkey2file.py': + ensure => present, + owner => root, + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Modified: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:17:29 UTC (rev 262) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:28:30 UTC (rev 263) +@@ -9,10 +9,12 @@ + except ImportError, e: + print "Please install python-ldap before running this program" + sys.exit(1) +- +-basedn="dc=mandriva,dc=com" ++<% ++dc_suffix = 'dc=' + domain.gsub('.',',dc=') ++%> ++basedn="<%= dc_suffix %>" + peopledn="ou=people,%s" % basedn +-uris=['ldap://kenobi.mandriva.com','ldap://svn.mandriva.com'] ++uris=['ldap://ldap.<%= domain %>'] + random.shuffle(uris) + uri = " ".join(uris) + timeout=5 +@@ -21,7 +23,7 @@ + # filter out disabled accounts also + # too bad uidNumber doesn't support >= filters + filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" +-keypathprefix="/var/lib/config/pubkeys" ++keypathprefix="<%= pubkeys_directory %>" + + def usage(): + print "%s" % sys.argv[0] + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment-0001.html new file mode 100644 index 000000000..150dac8dd --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment-0001.html @@ -0,0 +1,134 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[268] - add a postgrey module </title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>268</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:58:10 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- add a postgrey module </pre> + +<h3>Added Paths</h3> +<ul> +<li>puppet/modules/postgrey/</li> +<li>puppet/modules/postgrey/manifests/</li> +<li><a href="#puppetmodulespostgreymanifestsinitpp">puppet/modules/postgrey/manifests/init.pp</a></li> +<li>puppet/modules/postgrey/templates/</li> +<li><a href="#puppetmodulespostgreytemplatespostgreysysconfig">puppet/modules/postgrey/templates/postgrey.sysconfig</a></li> +<li><a href="#puppetmodulespostgreytemplateswhitelist_clientslocal">puppet/modules/postgrey/templates/whitelist_clients.local</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespostgreymanifestsinitpp">Added: puppet/modules/postgrey/manifests/init.pp</a> +=================================================================== +--- puppet/modules/postgrey/manifests/init.pp (rev 0) ++++ puppet/modules/postgrey/manifests/init.pp 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,31 @@ ++class postgrey { ++ package { postgrey: ++ ensure => installed ++ } ++ ++ service { postgrey: ++ ensure => running, ++ path => "/etc/init.d/postgrey", ++ subscribe => [ Package[postgrey]] ++ } ++ ++ file { "/etc/sysconfig/postgrey": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/postgrey.sysconfig"), ++ notify => [ Service[postgrey] ], ++ require => Package[postgrey], ++ } ++ ++ file { "/etc/postfix/postgrey_whitelist_clients.local": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/whitelist_clients.local"), ++ require => Package[postgrey], ++ notify => [ Service[postgrey]], ++ } ++} + +<a id="puppetmodulespostgreytemplatespostgreysysconfig">Added: puppet/modules/postgrey/templates/postgrey.sysconfig</a> +=================================================================== +--- puppet/modules/postgrey/templates/postgrey.sysconfig (rev 0) ++++ puppet/modules/postgrey/templates/postgrey.sysconfig 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,12 @@ ++# change default configuration option here ++ ++# SOCKET=$(postconf -h queue_directory)/extern/postgrey/socket ++# OPTIONS="--unix=$SOCKET" ++# DBPATH=/var/lib/postgrey ++# OPTIONS="$OPTIONS --dbdir=$DBPATH" ++ ++# to use an inet connection instead of a socket ++#OPTIONS="--inet=127.0.0.1:10031" ++ ++# enable whitelisting ++OPTIONS="$OPTIONS --auto-whitelist-clients" + +<a id="puppetmodulespostgreytemplateswhitelist_clientslocal">Added: puppet/modules/postgrey/templates/whitelist_clients.local</a> +=================================================================== +--- puppet/modules/postgrey/templates/whitelist_clients.local (rev 0) ++++ puppet/modules/postgrey/templates/whitelist_clients.local 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,5 @@ ++# zarb ++ryu.zarb.org ++cthulhu.zarb.org ++ ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment.html new file mode 100644 index 000000000..150dac8dd --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f634009c/attachment.html @@ -0,0 +1,134 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[268] - add a postgrey module </title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>268</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 16:58:10 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- add a postgrey module </pre> + +<h3>Added Paths</h3> +<ul> +<li>puppet/modules/postgrey/</li> +<li>puppet/modules/postgrey/manifests/</li> +<li><a href="#puppetmodulespostgreymanifestsinitpp">puppet/modules/postgrey/manifests/init.pp</a></li> +<li>puppet/modules/postgrey/templates/</li> +<li><a href="#puppetmodulespostgreytemplatespostgreysysconfig">puppet/modules/postgrey/templates/postgrey.sysconfig</a></li> +<li><a href="#puppetmodulespostgreytemplateswhitelist_clientslocal">puppet/modules/postgrey/templates/whitelist_clients.local</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulespostgreymanifestsinitpp">Added: puppet/modules/postgrey/manifests/init.pp</a> +=================================================================== +--- puppet/modules/postgrey/manifests/init.pp (rev 0) ++++ puppet/modules/postgrey/manifests/init.pp 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,31 @@ ++class postgrey { ++ package { postgrey: ++ ensure => installed ++ } ++ ++ service { postgrey: ++ ensure => running, ++ path => "/etc/init.d/postgrey", ++ subscribe => [ Package[postgrey]] ++ } ++ ++ file { "/etc/sysconfig/postgrey": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/postgrey.sysconfig"), ++ notify => [ Service[postgrey] ], ++ require => Package[postgrey], ++ } ++ ++ file { "/etc/postfix/postgrey_whitelist_clients.local": ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 644, ++ content => template("postgrey/whitelist_clients.local"), ++ require => Package[postgrey], ++ notify => [ Service[postgrey]], ++ } ++} + +<a id="puppetmodulespostgreytemplatespostgreysysconfig">Added: puppet/modules/postgrey/templates/postgrey.sysconfig</a> +=================================================================== +--- puppet/modules/postgrey/templates/postgrey.sysconfig (rev 0) ++++ puppet/modules/postgrey/templates/postgrey.sysconfig 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,12 @@ ++# change default configuration option here ++ ++# SOCKET=$(postconf -h queue_directory)/extern/postgrey/socket ++# OPTIONS="--unix=$SOCKET" ++# DBPATH=/var/lib/postgrey ++# OPTIONS="$OPTIONS --dbdir=$DBPATH" ++ ++# to use an inet connection instead of a socket ++#OPTIONS="--inet=127.0.0.1:10031" ++ ++# enable whitelisting ++OPTIONS="$OPTIONS --auto-whitelist-clients" + +<a id="puppetmodulespostgreytemplateswhitelist_clientslocal">Added: puppet/modules/postgrey/templates/whitelist_clients.local</a> +=================================================================== +--- puppet/modules/postgrey/templates/whitelist_clients.local (rev 0) ++++ puppet/modules/postgrey/templates/whitelist_clients.local 2010-11-17 15:58:10 UTC (rev 268) +@@ -0,0 +1,5 @@ ++# zarb ++ryu.zarb.org ++cthulhu.zarb.org ++ ++ + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment-0001.html new file mode 100644 index 000000000..7eecee35b --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment-0001.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[261] - renable ml domain after fixing the CNAME issue</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>261</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 03:45:43 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- renable ml domain after fixing the CNAME issue</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:22:36 UTC (rev 260) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 02:45:43 UTC (rev 261) +@@ -3,7 +3,7 @@ + ; $Id$ + $TTL 3D + @ IN SOA ns0.mageia.org. root.mageia.org. ( +- 2010111700 ; Serial ++ 2010111701 ; Serial + 21600 ; Refresh + 3600 ; Retry + 2419200 ; Expire +@@ -17,8 +17,8 @@ + @ IN MX 10 mx0.zarb.org. + @ IN MX 20 mx1.zarb.org. + +-;ml IN MX 10 alamut.mageia.org. +-;ml IN MX 20 krampouezh.mageia.org. ++ml IN MX 10 alamut.mageia.org. ++ml IN MX 20 krampouezh.mageia.org. + + ; MX + ;@ IN MX 10 mx0.zarb.org. +@@ -38,6 +38,10 @@ + ; lost oasis + alamut IN A 212.85.158.146 + alamut IN AAAA 2a02:2178:2:7::2 ++; since we have a subdomain, we cannot use a CNAME ++ml IN A 212.85.158.146 ++ml IN AAAA 2a02:2178:2:7::2 ++ + valstar IN A 212.85.158.147 + valstar IN AAAA 2a02:2178:2:7::3 + ecosse IN A 212.85.158.148 +@@ -74,7 +78,6 @@ + epoll IN CNAME alamut + pgsql IN CNAME alamut + bugs IN CNAME alamut +-ml IN CNAME alamut + lists IN CNAME alamut + ; temporary + ;forum IN A 140.211.167.148 + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment.html new file mode 100644 index 000000000..7eecee35b --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f926c176/attachment.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[261] - renable ml domain after fixing the CNAME issue</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>261</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 03:45:43 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- renable ml domain after fixing the CNAME issue</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesbindtemplateszonesmageiaorgzone">puppet/modules/bind/templates/zones/mageia.org.zone</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesbindtemplateszonesmageiaorgzone">Modified: puppet/modules/bind/templates/zones/mageia.org.zone</a> +=================================================================== +--- puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 01:22:36 UTC (rev 260) ++++ puppet/modules/bind/templates/zones/mageia.org.zone 2010-11-17 02:45:43 UTC (rev 261) +@@ -3,7 +3,7 @@ + ; $Id$ + $TTL 3D + @ IN SOA ns0.mageia.org. root.mageia.org. ( +- 2010111700 ; Serial ++ 2010111701 ; Serial + 21600 ; Refresh + 3600 ; Retry + 2419200 ; Expire +@@ -17,8 +17,8 @@ + @ IN MX 10 mx0.zarb.org. + @ IN MX 20 mx1.zarb.org. + +-;ml IN MX 10 alamut.mageia.org. +-;ml IN MX 20 krampouezh.mageia.org. ++ml IN MX 10 alamut.mageia.org. ++ml IN MX 20 krampouezh.mageia.org. + + ; MX + ;@ IN MX 10 mx0.zarb.org. +@@ -38,6 +38,10 @@ + ; lost oasis + alamut IN A 212.85.158.146 + alamut IN AAAA 2a02:2178:2:7::2 ++; since we have a subdomain, we cannot use a CNAME ++ml IN A 212.85.158.146 ++ml IN AAAA 2a02:2178:2:7::2 ++ + valstar IN A 212.85.158.147 + valstar IN AAAA 2a02:2178:2:7::3 + ecosse IN A 212.85.158.148 +@@ -74,7 +78,6 @@ + epoll IN CNAME alamut + pgsql IN CNAME alamut + bugs IN CNAME alamut +-ml IN CNAME alamut + lists IN CNAME alamut + ; temporary + ;forum IN A 140.211.167.148 + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment-0001.html b/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment-0001.html new file mode 100644 index 000000000..a6789f8e2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment-0001.html @@ -0,0 +1,199 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[262] - import mandriva script to export ssh keys ( need some cleaning )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>262</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 15:17:29 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- import mandriva script to export ssh keys ( need some cleaning )</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 02:45:43 UTC (rev 261) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:17:29 UTC (rev 262) +@@ -26,4 +26,21 @@ + mode => 755, + content => template("restrictshell/membersh-conf.pl"), + } ++ ++ package { 'python-ldap': ++ ensure => installed, ++ } ++ ++ file { '/usr/local/bin/ldap-sshkey2file.py': ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 755, ++ content => template("restrictshell/ldap-sshkey2file.py"), ++ requires => Package['python-ldap'] ++ } ++ ++ ++ ++ + } + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Added: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py (rev 0) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:17:29 UTC (rev 262) +@@ -0,0 +1,92 @@ ++#!/usr/bin/python ++ ++import sys ++import os ++import random ++ ++try: ++ import ldap ++except ImportError, e: ++ print "Please install python-ldap before running this program" ++ sys.exit(1) ++ ++basedn="dc=mandriva,dc=com" ++peopledn="ou=people,%s" % basedn ++uris=['ldap://kenobi.mandriva.com','ldap://svn.mandriva.com'] ++random.shuffle(uris) ++uri = " ".join(uris) ++timeout=5 ++binddn="uid=sshkeyreader,ou=System Accounts,%s" % basedn ++pwfile="/etc/sshkeyreader.pw" ++# filter out disabled accounts also ++# too bad uidNumber doesn't support >= filters ++filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" ++keypathprefix="/var/lib/config/pubkeys" ++ ++def usage(): ++ print "%s" % sys.argv[0] ++ print ++ print "Will fetch all enabled user accounts under %s" % peopledn ++ print "with ssh keys in them and write each one to" ++ print "%s/<login>/authorized_keys" % keypathprefix ++ print ++ print "This script is intented to be run from cron as root" ++ print ++ ++def get_pw(pwfile): ++ try: ++ f = open(pwfile, 'r') ++ except IOError, e: ++ print "Error while reading password file, aborting" ++ print e ++ sys.exit(1) ++ pw = f.readline().strip() ++ f.close() ++ return pw ++ ++def write_keys(keys, user, uid, gid): ++ try: ++ os.makedirs("%s/%s" % (keypathprefix,user), 0700) ++ except: ++ pass ++ keyfile = "%s/%s/authorized_keys" % (keypathprefix,user) ++ f = open(keyfile, 'w') ++ for key in keys: ++ f.write(key.strip() + "\n") ++ f.close() ++ os.chmod(keyfile, 0600) ++ os.chown(keyfile, uid, gid) ++ os.chmod("%s/%s" % (keypathprefix,user), 0700) ++ os.chown("%s/%s" % (keypathprefix,user), uid, gid) ++ ++if len(sys.argv) != 1: ++ usage() ++ sys.exit(1) ++ ++bindpw = get_pw(pwfile) ++ ++try: ++ ld = ldap.initialize(uri) ++ ld.set_option(ldap.OPT_NETWORK_TIMEOUT, timeout) ++ ld.start_tls_s() ++ ld.bind_s(binddn, bindpw) ++ res = ld.search_s(peopledn, ldap.SCOPE_ONELEVEL, filter, ['uid','sshPublicKey','uidNumber','gidNumber']) ++ try: ++ os.makedirs(keypathprefix, 0701) ++ except: ++ pass ++ for result in res: ++ dn, entry = result ++ # skip possible system users ++ if int(entry['uidNumber'][0]) < 500: ++ continue ++ write_keys(entry['sshPublicKey'], entry['uid'][0], int(entry['uidNumber'][0]), int(entry['gidNumber'][0])) ++ ld.unbind_s() ++except Exception, e: ++ print "Error" ++ raise ++ ++sys.exit(0) ++ ++ ++# vim:ts=4:sw=4:et:ai:si + + +Property changes on: puppet/modules/restrictshell/templates/ldap-sshkey2file.py +___________________________________________________________________ +<a id="svnexecutable">Added: svn:executable</a> + + * + +</pre></div> + +</body> +</html>
\ No newline at end of file diff --git a/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment.html b/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment.html new file mode 100644 index 000000000..a6789f8e2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/attachments/20101117/f94d7af2/attachment.html @@ -0,0 +1,199 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" +"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>[262] - import mandriva script to export ssh keys ( need some cleaning )</title> +</head> +<body> + +<style type="text/css"><!-- +#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } +#msg dl.meta dt { float: left; width: 6em; font-weight: bold; } +#msg dt:after { content:':';} +#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } +#msg dl a { font-weight: bold} +#msg dl a:link { color:#fc3; } +#msg dl a:active { color:#ff0; } +#msg dl a:visited { color:#cc6; } +h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } +#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; } +#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; } +#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; } +#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; } +#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; } +#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; } +#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; } +#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; } +#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; } +#logmsg pre { background: #eee; padding: 1em; } +#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;} +#logmsg dl { margin: 0; } +#logmsg dt { font-weight: bold; } +#logmsg dd { margin: 0; padding: 0 0 0.5em 0; } +#logmsg dd:before { content:'\00bb';} +#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; } +#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; } +#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; } +#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; } +#logmsg table th.Corner { text-align: left; } +#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; } +#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; } +#patch { width: 100%; } +--></style> +<div id="msg"> +<dl class="meta"> +<dt>Revision</dt> <dd>262</dd> +<dt>Author</dt> <dd>misc</dd> +<dt>Date</dt> <dd>2010-11-17 15:17:29 +0100 (Wed, 17 Nov 2010)</dd> +</dl> + +<h3>Log Message</h3> +<pre>- import mandriva script to export ssh keys ( need some cleaning )</pre> + +<h3>Modified Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshellmanifestsinitpp">puppet/modules/restrictshell/manifests/init.pp</a></li> +</ul> + +<h3>Added Paths</h3> +<ul> +<li><a href="#puppetmodulesrestrictshelltemplatesldapsshkey2filepy">puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a></li> +</ul> + +</div> +<div id="patch"><pre> +<a id="puppetmodulesrestrictshellmanifestsinitpp">Modified: puppet/modules/restrictshell/manifests/init.pp</a> +=================================================================== +--- puppet/modules/restrictshell/manifests/init.pp 2010-11-17 02:45:43 UTC (rev 261) ++++ puppet/modules/restrictshell/manifests/init.pp 2010-11-17 14:17:29 UTC (rev 262) +@@ -26,4 +26,21 @@ + mode => 755, + content => template("restrictshell/membersh-conf.pl"), + } ++ ++ package { 'python-ldap': ++ ensure => installed, ++ } ++ ++ file { '/usr/local/bin/ldap-sshkey2file.py': ++ ensure => present, ++ owner => root, ++ group => root, ++ mode => 755, ++ content => template("restrictshell/ldap-sshkey2file.py"), ++ requires => Package['python-ldap'] ++ } ++ ++ ++ ++ + } + +<a id="puppetmodulesrestrictshelltemplatesldapsshkey2filepy">Added: puppet/modules/restrictshell/templates/ldap-sshkey2file.py</a> +=================================================================== +--- puppet/modules/restrictshell/templates/ldap-sshkey2file.py (rev 0) ++++ puppet/modules/restrictshell/templates/ldap-sshkey2file.py 2010-11-17 14:17:29 UTC (rev 262) +@@ -0,0 +1,92 @@ ++#!/usr/bin/python ++ ++import sys ++import os ++import random ++ ++try: ++ import ldap ++except ImportError, e: ++ print "Please install python-ldap before running this program" ++ sys.exit(1) ++ ++basedn="dc=mandriva,dc=com" ++peopledn="ou=people,%s" % basedn ++uris=['ldap://kenobi.mandriva.com','ldap://svn.mandriva.com'] ++random.shuffle(uris) ++uri = " ".join(uris) ++timeout=5 ++binddn="uid=sshkeyreader,ou=System Accounts,%s" % basedn ++pwfile="/etc/sshkeyreader.pw" ++# filter out disabled accounts also ++# too bad uidNumber doesn't support >= filters ++filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))" ++keypathprefix="/var/lib/config/pubkeys" ++ ++def usage(): ++ print "%s" % sys.argv[0] ++ print ++ print "Will fetch all enabled user accounts under %s" % peopledn ++ print "with ssh keys in them and write each one to" ++ print "%s/<login>/authorized_keys" % keypathprefix ++ print ++ print "This script is intented to be run from cron as root" ++ print ++ ++def get_pw(pwfile): ++ try: ++ f = open(pwfile, 'r') ++ except IOError, e: ++ print "Error while reading password file, aborting" ++ print e ++ sys.exit(1) ++ pw = f.readline().strip() ++ f.close() ++ return pw ++ ++def write_keys(keys, user, uid, gid): ++ try: ++ os.makedirs("%s/%s" % (keypathprefix,user), 0700) ++ except: ++ pass ++ keyfile = "%s/%s/authorized_keys" % (keypathprefix,user) ++ f = open(keyfile, 'w') ++ for key in keys: ++ f.write(key.strip() + "\n") ++ f.close() ++ os.chmod(keyfile, 0600) ++ os.chown(keyfile, uid, gid) ++ os.chmod("%s/%s" % (keypathprefix,user), 0700) ++ os.chown("%s/%s" % (keypathprefix,user), uid, gid) ++ ++if len(sys.argv) != 1: ++ usage() ++ sys.exit(1) ++ ++bindpw = get_pw(pwfile) ++ ++try: ++ ld = ldap.initialize(uri) ++ ld.set_option(ldap.OPT_NETWORK_TIMEOUT, timeout) ++ ld.start_tls_s() ++ ld.bind_s(binddn, bindpw) ++ res = ld.search_s(peopledn, ldap.SCOPE_ONELEVEL, filter, ['uid','sshPublicKey','uidNumber','gidNumber']) ++ try: ++ os.makedirs(keypathprefix, 0701) ++ except: ++ pass ++ for result in res: ++ dn, entry = result ++ # skip possible system users ++ if int(entry['uidNumber'][0]) < 500: ++ continue ++ write_keys(entry['sshPublicKey'], entry['uid'][0], int(entry['uidNumber'][0]), int(entry['gidNumber'][0])) ++ ld.unbind_s() ++except Exception, e: ++ print "Error" ++ raise ++ ++sys.exit(0) ++ ++ ++# vim:ts=4:sw=4:et:ai:si + + +Property changes on: puppet/modules/restrictshell/templates/ldap-sshkey2file.py +___________________________________________________________________ +<a id="svnexecutable">Added: svn:executable</a> + + * + +</pre></div> + +</body> +</html>
\ No newline at end of file |