Skip to content

Instantly share code, notes, and snippets.

Aaron Tygart thekuffs

  • Plano, TX
Block or report user

Report or block thekuffs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am thekuffs on github.
  • I am kuffs (https://keybase.io/kuffs) on keybase.
  • I have a public key whose fingerprint is 615C 96DC F531 AB10 1644 A601 253D 91D5 79C6 3A46

To claim this, I am signing this object:

View postgres.sls
postgresql:
service:
- running
- require:
- pkg: postgres_pkgs
postgres_pkgs:
pkg.installed:
- pkgs:
View mongodb:server.sls
# Include the instantiated macro here
include:
- pkg_repo.10gen
mongo-10gen-server:
pkg:
- installed
- require:
- file: 'pkg_repo.10gen'
@thekuffs
thekuffs / gist:4435888
Last active Nov 29, 2017
Install and configure the salt-minion service with nssm. Accidentally posted anonymously in https://gist.github.com/4435871
View gist:4435888
Write-Host "Configuring salt-minion service"
# install the service with nssm. This is where the binary and arguments are specified.
c:\salt\nssm.exe install salt-minion c:\salt\salt-minion.exe -c c:\salt\etc\salt -l quiet
# Make a friendly name, description, and make it start automatically.
Set-Service -name "salt-minion" `
-displayName "Salt Minion" `
-StartupType Automatic `
-Description "Provides secure orchestration and centralized management"
@thekuffs
thekuffs / gist:4247140
Created Dec 9, 2012
Package installation using 'sources'
View gist:4247140
'pkg_repo.epel':
pkg.installed:
- name: 'epel-release'
- sources:
- 'epel-release': 'http://fedora-epel.mirror.lstn.net/6/i386/epel-release-6-7.noarch.rpm'
@thekuffs
thekuffs / init.sls
Created Dec 5, 2012 — forked from centrix/init.sls
mysql.sls
View init.sls
mysql_dirs:
file:
- directory
- mode: 644
- makedirs: True
- names:
- /etc/mysql
- /data/mysql-data
- /data/cluster-data
- /data/cluster-data/backup
@thekuffs
thekuffs / 10gen.sls
Last active Mar 15, 2019
Salt: Add repos in Ubuntu
View 10gen.sls
{% if grains['os'] == 'Ubuntu' %}
{% from "pkg_repo/apt.sls" import apt_repo with context %}
{% if pillar['pkg_mirrors_enabled'] %}
{% set mirrors = ['http://' + pillar['pkg_mirror'] + '/10gen/repo/upbuntu-upstart/',
'http://downloads-distro.mongodb.org/repo/ubuntu-upstart/'] %}
{% else %}
{% set mirrors = ['http://downloads-distro.mongodb.org/repo/ubuntu-upstart/'] %}
{% endif %}
{{ apt_repo('10gen', mirrors, codename='dist', components=['10gen'], key_id='7F0CEB10') }}
View supervisord.sh
#!/bin/bash
#
# supervisord This scripts turns supervisord on
#
# Author: Mike McGrath <mmcgrath@redhat.com> (based off yumupdatesd)
# Jason Koppe <jkoppe@indeed.com> adjusted to read sysconfig,
# use supervisord tools to start/stop, conditionally wait
# for child processes to shutdown, and startup later
#
# chkconfig: 345 83 04
@thekuffs
thekuffs / salt-minion.sh
Created Sep 13, 2012
Salt minion init script
View salt-minion.sh
#!/bin/sh
#
# Salt minion
###################################
# LSB header
### BEGIN INIT INFO
# Provides: salt-minion
# Required-Start: network
You can’t perform that action at this time.