This file contains 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
yum info --verbose open-vm-tools.x86_64 | |
Loading "fastestmirror" plugin | |
Config time: 0.008 | |
Yum version: 3.4.3 | |
rpmdb time: 0.000 | |
Setting up Package Sacks | |
Loading mirror speeds from cached hostfile | |
* base: mirror.net.cen.ct.gov | |
* epel: d2lzkl7pfhq30w.cloudfront.net | |
* extras: mirrors.tripadvisor.com |
This file contains 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
APP_NAME = ${TF_VAR_app_name} | |
REGION = ${TF_VAR_region} | |
KEY = 'terraform.state' | |
PROFILE = ${TF_VAR_profile} | |
AWS_ACCOUNT = ${TF_VAR_aws_account} | |
BUCKET = "${APP_NAME}-${AWS_ACCOUNT}" | |
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | |
.PHONY: help | |
help: ## This help message. |
This file contains 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
#!/bin/sh | |
set +e | |
# This script needs a couple files work properly. | |
# use packer file provisioner to copy ssh key for git here, puppet will make sure permissions are right | |
# /tmp/id_rsa | |
# | |
# ditto, copy hiera config here | |
# /tmp/hiera.yaml | |
# |
This file contains 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
# How to get a remote host to pull modules when pushing a Desired State Configuration | |
# Package up required PowerShell modules | |
# Place them in the required directory on the pull server | |
# Execute DSC in 'push' mode | |
# Remote host will pull modules from configured DSC repository | |
# | |
# todo: DRY. Can we use the array $modules when invoking the Import-DscResource cmdlet? | |
# | |
Configuration SmbServer | |
{ |
This file contains 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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains 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
#!/bin/sh | |
find . -name "*.pp" -type f -exec puppet parser validate {} --debug \; |
This file contains 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
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport; sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
This file contains 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: mod_jk | |
# | |
# Install and configure mod_jk with java | |
# | |
# Parameters | |
# | |
# [*$source_path*] | |
# The is the directory from where the mod_jk module will get its setup files and configurations | |
# | |
# [*$mod_jk_version*] |
This file contains 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
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD |