[Mageia-sysadm] [681] - split ml in a separate file ( so we could later use ruby dsl and a loop )

root at mageia.org root at mageia.org
Thu Jan 6 21:58:00 CET 2011


Revision: 681
Author:   misc
Date:     2011-01-06 21:58:00 +0100 (Thu, 06 Jan 2011)
Log Message:
-----------
- split ml in a separate file ( so we could later use ruby dsl and a loop )

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

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

Added: puppet/manifests/lists.pp
===================================================================
--- puppet/manifests/lists.pp	                        (rev 0)
+++ puppet/manifests/lists.pp	2011-01-06 20:58:00 UTC (rev 681)
@@ -0,0 +1,49 @@
+
+# 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",
+}
+
+

Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp	2011-01-06 20:50:14 UTC (rev 680)
+++ puppet/manifests/nodes.pp	2011-01-06 20:58:00 UTC (rev 681)
@@ -63,53 +63,7 @@
     include sympa::server
     include postfix::primary_smtp
   
-    # 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",
-    }
-
+    import "lists"
 }
 
 # buildnode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110106/146c539b/attachment-0001.html>


More information about the Mageia-sysadm mailing list