This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/files/backup/disklist-daily b/files/backup/disklist-daily | |
index cd7cbd7..6d558dc 100644 | |
--- a/files/backup/disklist-daily | |
+++ b/files/backup/disklist-daily | |
@@ -14,3 +14,7 @@ nfs1.pmtpa.wmnet /var/opendj/backups default | |
nfs2.pmtpa.wmnet /var/opendj/backups default | |
formey.wikimedia.org /svnroot/bak default | |
sodium.wikimedia.org /var/lib/mailman default | |
+stat1.wikimedia.org /a { | |
+ default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.cloudera.com/blog/2009/03/configuration-parameters-what-can-you-just-ignore/ | |
- block size | |
- open files limit | |
- epoll limit | |
- io.sort.mb (io.sort.factor?) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class misc::statistics::user { | |
$username = "stats" | |
systemuser { "$username": name => "$username", home => "/var/lib/$username", $groups => "wikidev" } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestMain { | |
public static void main(String[] args) { | |
System.out.println("ohboy!"); | |
} | |
} | |
root@wmvm:~/# javac TestMain.java root@wmvm:~/analyzer# java TestMain.class | |
Exception in thread "main" java.lang.NoClassDefFoundError: TestMain/class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class { "generic::mysql::server": | |
datadir => $::mysql_datadir ? { | |
false => "/mnt/mysql", | |
default => $::mysql_datadir, | |
}, | |
... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/manifests/admins.pp b/manifests/admins.pp | |
index bf29a7b..705c050 100644 | |
--- a/manifests/admins.pp | |
+++ b/manifests/admins.pp | |
@@ -8,7 +8,7 @@ | |
# 1) set variable $enabled = "false" | |
# 2) set all ssh authorized keys to ensure => absent | |
-define unixaccount($username, $uid, $gid, $enabled="true") { | |
+define unixaccount($username, $uid, $gid, $enabled="true", $groups = []) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by iptables-save v1.4.4 on Fri Jun 22 19:21:11 2012 | |
*filter | |
:INPUT ACCEPT [165:13104] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [14294822:17599353604] | |
-A INPUT -s 91.198.174.0/24 -m comment --comment "udp2log_accept_all_AMS_all" -j ACCEPT | |
-A INPUT -s 10.0.0.0/8 -m comment --comment "udp2log_accept_all_private_all" -j ACCEPT | |
-A INPUT -s 208.80.152.0/22 -m comment --comment "udp2log_accept_all_US_all" -j ACCEPT | |
-A INPUT -s 127.0.0.1/32 -m comment --comment "udp2log_accept_all_localhost_all" -j ACCEPT | |
-A INPUT -p udp -m comment --comment "udp2log_drop_udp_udp" -j DROP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wmvm.localdomain] Using FilterWrapper wrap: {0} [] | |
[wmvm.localdomain] search mw_wmvm: query=[MediaWiki] parsed=[custom(+contents:mediawiki^0.2 relevance ([((P contents:"mediawiki") (P sections:"mediawiki"^0.25))^2.0], (P alttitle:"mediawiki"~20^2.5) (P related:"mediawiki"^12.0)) (P alttitle:"mediawiki"~20))] hit=[1] in 6ms using IndexSearcherMul:1340732838068 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total 13072 | |
-rw-r--r-- 1 otto staff 6623320 Jun 28 16:31 LuceneSearch.jar | |
-rw-r--r-- 1 otto staff 1483 Jun 26 10:14 README.txt | |
-rw-r--r-- 1 otto staff 657 Jun 26 10:14 RELEASE-NOTES.txt | |
drwxr-xr-x 3 otto staff 102 Jun 26 10:18 bin | |
-rwxr-xr-x 1 otto staff 791 Jun 26 11:08 build | |
-rw-r--r-- 1 otto staff 192 Jun 26 10:14 build.properties | |
-rw-r--r-- 1 otto staff 6586 Jun 26 10:14 build.xml | |
-rw-r--r-- 1 otto staff 72 Jun 26 12:11 config.inc | |
drwxr-xr-x 11 otto staff 374 Jun 26 10:14 debian |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total 13088 | |
drwxr-xr-x 34 otto staff 1156 Jun 28 16:06 . | |
drwxr-xr-x 29 otto staff 986 Jun 26 10:14 .. | |
-rw-r--r-- 1 otto staff 1791 Jun 28 16:06 .classpath | |
drwxr-xr-x 13 otto staff 442 Jun 28 12:44 .git | |
-rw-r--r-- 1 otto staff 705 Jun 26 10:14 .project | |
-rw-r--r-- 1 otto staff 6623320 Jun 28 16:31 LuceneSearch.jar | |
-rw-r--r-- 1 otto staff 1483 Jun 26 10:14 README.txt | |
-rw-r--r-- 1 otto staff 657 Jun 26 10:14 RELEASE-NOTES.txt | |
drwxr-xr-x 3 otto staff 102 Jun 26 10:18 bin |