Skip to content

Instantly share code, notes, and snippets.

View justinta's full-sized avatar

Justin Anderson justinta

View GitHub Profile
#!/bin/bash
DISTRO=$(lsb_release -si)
$_UBU_SYS_PACKAGES=""
_CENT_SYS_PACKAGES="git"
_install_sys_packages () {
if [ $DISTRO="Ubuntu" ]; then
echo $DISTRO
apt-get install -y $_UBU_SYS_PACKAGES
elif [ $DISTRO="CentOS" ]; then
@justinta
justinta / Christmas.md
Last active November 22, 2016 19:58
Christmast list

Keybase proof

I hereby claim:

  • I am justinta on github.
  • I am justinta (https://keybase.io/justinta) on keybase.
  • I have a public key whose fingerprint is 93C7 F881 BFE2 4FDE FCA5 7B39 38A7 954C 2CC6 8332

To claim this, I am signing this object:

{
"freebsd_grains_vm": {
"biosversion": "4.1.5",
"kernel": "FreeBSD",
"domain": "",
"uid": 0,
"zmqversion": "4.1.5",
"kernelrelease": "10.1-RELEASE-p15",
"pythonpath": [
"/usr/local/bin",
This file has been truncated, but you can view the full file.
[EnvInject] - Inject global passwords.
[EnvInject] - Mask passwords passed as build parameters.
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
salt-call --local state.sls python-devel
[INFO ] Determining pillar cache
[INFO ] Determining pillar cache
[INFO ] Loading fresh modules for state activity
[INFO ] Fetching file from saltenv 'base', ** done ** u'python-devel.sls'
[INFO ] Running state [python26-devel] at time 11:18:53.678333
[INFO ] Executing state pkg.installed for python26-devel
[INFO ] Executing command ['rpm', '-qa', '--queryformat', '%{NAME}_|-%{EPOCH}_|-%{VERSION}_|-%{RELEASE}_|-%{ARCH}_|-(none)\n'] in directory '/root'
[INFO ] Executing command ['repoquery', '--plugins', '--queryformat', '%{NAME}_|-%{ARCH}', '--pkgnarrow=all', '--all'] in directory '/root'
[INFO ] Executing command ['yum', '--quiet', 'clean', 'expire-cache'] in directory '/root'
λ sudo salt-proxy --proxyid=nxos -l debug
[DEBUG ] Reading configuration from /etc/salt/proxy
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: 49.24.4.10.in-addr.arpa
[DEBUG ] Configuration file path: /etc/salt/proxy
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up a Salt Proxy Minion "nxos"
[DEBUG ] Created pidfile: /var/run/salt-minion.pid
[INFO ] The proxy minion is starting up
[INFO ] ProxyMinion is starting as user 'root'
[DEBUG ] AsyncEventPublisher PUB socket URI: ipc:///var/run/salt/minion/minion_event_c331c91150_pub.ipc