Skip to content

Instantly share code, notes, and snippets.

@vittalgit
vittalgit / install_jenkins_plugin.sh
Created May 17, 2021 10:10 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@vittalgit
vittalgit / aws.md
Created April 9, 2018 06:24 — forked from colinvh/aws.md
AWS Region Names

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes

@vittalgit
vittalgit / add-docker-user.sh
Created August 1, 2017 10:38 — forked from bruth/add-docker-user.sh
Setup Official Docker Repo on RHEL 7
#!/bin/bash
/usr/sbin/usermod -aG docker <user>

Set the Path

The following path need to be set in order to use rake, rspec etc.

export PATH=$PATH:/opt/puppetlabs/puppet/bin/

echo "export PATH=$PATH:/opt/puppetlabs/puppet/bin/" >> ~/.bashrc