I hereby claim:
- I am aravindgv on github.
- I am aravindgv (https://keybase.io/aravindgv) on keybase.
- I have a public key ASBHUO2C5hepr2-xkhVyAxapqG50nolv5ee8NrYYqD_EDQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import argparse | |
| from subprocess import check_output,PIPE,run | |
| import re | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("-u","--svn-url",dest="svn_url",help="Subversion URL") | |
| parser.add_argument("-n","--last-rev",dest="rev",help="Clone last N num revision",type=int) | |
| parser.add_argument("-d","--output-dir",dest="mydir",help="Clone to this directory") | |
| args = parser.parse_args() |
| # /etc/puppet/manifests/classes/ntpd.pp | |
| class ntp { | |
| package { ntp: ensure => present } | |
| file { "/etc/ntp.conf": | |
| owner => root, | |
| group => root, | |
| mode => 444, | |
| backup => false, | |
| source => "puppet:///files/etc/ntp.conf", | |
| require => Package["ntp"], |
| root@jb-dev ~# mongo MongoDB shell version: 2.4.8 | |
| connecting to: test | |
| use admin | |
| switched to db admin | |
| db.auth(‘jeeto’,‘xxxx’) |
| puppet master --no-daemonize --debug |
| #/bin/sh | |
| ###BEGIN INIT INFO | |
| #Provides: graylog2-‐web | |
| #Required-‐Start:$network$named$remote_s $syslog | |
| #Required-‐Stop:$network$named$remote_fs $syslog | |
| #Short-‐Description:Graylog2 Web | |
| #Description:Graylog2Web-‐Searchyour logs, create charts, send reports and be alerted when something happens. | |
| ###END INIT INFO | |
| #Author: Aravind G V <[email protected]> | |
| #Source function library. |
| #!/bin/sh | |
| #Aravind G V | |
| # graylog2-server: graylog2 message collector | |
| # | |
| # chkconfig: - 98 02 | |
| # description: This daemon listens for syslog and GELF messages and stores them in mongodb | |
| # | |
| CMD=$1 | |
| NOHUP=`which nohup` | |
| JAVA_HOME=/usr/java/latest |