Addshore has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/391559 )

Change subject: Setup home dir for addshore
......................................................................

Setup home dir for addshore

Change-Id: If51fc6a2ae85dad136b60d8c44fd2bd9199710bb
---
A modules/admin/files/home/addshore/.bash_profile
A modules/admin/files/home/addshore/.gitconfig
A modules/admin/files/home/addshore/bin/mwdebug-mon
A modules/admin/files/home/addshore/bin/stat-sql-store
A modules/admin/files/home/addshore/bin/stat-web-grep
5 files changed, 23 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/59/391559/1

diff --git a/modules/admin/files/home/addshore/.bash_profile 
b/modules/admin/files/home/addshore/.bash_profile
new file mode 100644
index 0000000..b46718e
--- /dev/null
+++ b/modules/admin/files/home/addshore/.bash_profile
@@ -0,0 +1,12 @@
+# Use .bashrc
+[[ -r ~/.bashrc ]] && . ~/.bashrc
+
+#Add my bin to path
+export PATH=$PATH:$HOME/bin
+
+#Aliases
+alias sync-file='scap sync-file'
+alias sync-dir='scap sync-dir'
+alias mwversionsinuse='scap wikiversions-inuse'
+alias ..='cd ..'
+alias ll='ls -l --color=auto'
\ No newline at end of file
diff --git a/modules/admin/files/home/addshore/.gitconfig 
b/modules/admin/files/home/addshore/.gitconfig
new file mode 100644
index 0000000..e75abbe
--- /dev/null
+++ b/modules/admin/files/home/addshore/.gitconfig
@@ -0,0 +1,3 @@
+[user]
+    name = addshore
+    email = [email protected]
diff --git a/modules/admin/files/home/addshore/bin/mwdebug-mon 
b/modules/admin/files/home/addshore/bin/mwdebug-mon
new file mode 100755
index 0000000..6d5ddb3
--- /dev/null
+++ b/modules/admin/files/home/addshore/bin/mwdebug-mon
@@ -0,0 +1,4 @@
+#!/bin/sh
+tmux new-session -d 'fatalmonitor'
+tmux split-window -v 'tail -f /srv/mw-log/exception.log'
+tmux new-window 'mon'
\ No newline at end of file
diff --git a/modules/admin/files/home/addshore/bin/stat-sql-store 
b/modules/admin/files/home/addshore/bin/stat-sql-store
new file mode 100755
index 0000000..6b5c57f
--- /dev/null
+++ b/modules/admin/files/home/addshore/bin/stat-sql-store
@@ -0,0 +1,2 @@
+#!/bin/sh
+mysql --defaults-file=/etc/mysql/conf.d/analytics-research-client.cnf -h 
analytics-store.eqiad.wmnet -A
\ No newline at end of file
diff --git a/modules/admin/files/home/addshore/bin/stat-web-grep 
b/modules/admin/files/home/addshore/bin/stat-web-grep
new file mode 100755
index 0000000..4cd5e6e
--- /dev/null
+++ b/modules/admin/files/home/addshore/bin/stat-web-grep
@@ -0,0 +1,2 @@
+#!/bin/sh
+kafkacat -b kafka1012.eqiad.wmnet -t webrequest_text | grep --color $1
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/391559
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If51fc6a2ae85dad136b60d8c44fd2bd9199710bb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to