[Mageia-sysadm] [743] move lists to a subdirectory deployment ( to separate them from pure module )

root at mageia.org root at mageia.org
Sun Jan 9 12:15:10 CET 2011


Revision: 743
Author:   misc
Date:     2011-01-09 12:15:10 +0100 (Sun, 09 Jan 2011)
Log Message:
-----------
move lists to a subdirectory deployment ( to separate them from pure module )

Modified Paths:
--------------
    puppet/manifests/nodes.pp

Added Paths:
-----------
    puppet/deployment/
    puppet/deployment/lists/
    puppet/deployment/lists/manifests/
    puppet/deployment/lists/manifests/init.pp

Removed Paths:
-------------
    puppet/manifests/lists.pp

Added: puppet/deployment/lists/manifests/init.pp
===================================================================
--- puppet/deployment/lists/manifests/init.pp	                        (rev 0)
+++ puppet/deployment/lists/manifests/init.pp	2011-01-09 11:15:10 UTC (rev 743)
@@ -0,0 +1,66 @@
+class lists {
+
+        # please check that the list use the proper code for
+        # language ( not to be confused with tld or country code )
+        sympa::public_list {"i18n-af":
+            subject => "List about translation to Afrikaans",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-de":
+            subject => "List about translation to German",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-et":
+            subject => "List about translation to Estonian",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-fr":
+            subject => "List about translation to French",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-nl":
+            subject => "List about translation to Dutch",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-pt_br":
+            subject => "List about translation to Brazilian Portuguese",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-pl":
+            subject => "List about translation to Polish",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-ru":
+            subject => "List about translation to Russian",
+            topics => "i18n",
+        }
+
+        sympa::public_list {"i18n-tr":
+            subject => "List about translation to Turkish",
+            topics => "i18n",
+        }
+
+
+        sympa::announce_list_email {"sysadmin-commits":
+            subject => "List receiving commits mail from sysadmin team repository",
+            # FIXME change once we migrate
+            reply_to => "mageia-sysadm@$domain",
+            sender_email => "root@$domain",
+            topics => "sysadmin",
+        }
+
+        sympa::announce_list_email {"sysadmin-reports":
+            subject => "List receiving automated reports from various pieces of infrastructure",
+            # FIXME change once we migrate
+            reply_to => "mageia-sysadm@$domain",
+            sender_email => "root@$domain",
+            topics => "sysadmin",
+        }
+}

Deleted: puppet/manifests/lists.pp
===================================================================
--- puppet/manifests/lists.pp	2011-01-09 11:15:08 UTC (rev 742)
+++ puppet/manifests/lists.pp	2011-01-09 11:15:10 UTC (rev 743)
@@ -1,65 +0,0 @@
-
-# please check that the list use the proper code for
-# language ( not to be confused with tld or country code )
-sympa::public_list {"i18n-af":
-    subject => "List about translation to Afrikaans",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-de":
-    subject => "List about translation to German",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-et":
-    subject => "List about translation to Estonian",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-fr":
-    subject => "List about translation to French",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-nl":
-    subject => "List about translation to Dutch",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-pt_br":
-    subject => "List about translation to Brazilian Portuguese",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-pl":
-    subject => "List about translation to Polish",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-ru":
-    subject => "List about translation to Russian",
-    topics => "i18n",
-}
-
-sympa::public_list {"i18n-tr":
-    subject => "List about translation to Turkish",
-    topics => "i18n",
-}
-
-
-sympa::announce_list_email {"sysadmin-commits":
-    subject => "List receiving commits mail from sysadmin team repository",
-    # FIXME change once we migrate
-    reply_to => "mageia-sysadm@$domain",
-    sender_email => "root@$domain",
-    topics => "sysadmin",
-}
-
-sympa::announce_list_email {"sysadmin-reports":
-    subject => "List receiving automated reports from various pieces of infrastructure",
-    # FIXME change once we migrate
-    reply_to => "mageia-sysadm@$domain",
-    sender_email => "root@$domain",
-    topics => "sysadmin",
-}
-

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2011-01-09 11:15:08 UTC (rev 742)
+++ puppet/manifests/nodes.pp	2011-01-09 11:15:10 UTC (rev 743)
@@ -96,7 +96,7 @@
     include sympa::server
     include postfix::primary_smtp
   
-#    import  "lists"
+    include lists
 }
 
 # buildnode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110109/94adb24f/attachment-0001.html>


More information about the Mageia-sysadm mailing list