Skip to content

Instantly share code, notes, and snippets.

View astrostl's full-sized avatar

Justin Honold astrostl

View GitHub Profile
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ssm:DescribeAssociation",
"ssm:GetDeployablePatchSnapshotForInstance",
"ssm:GetDocument",
"ssm:GetParameters",
---
Parameters:
CodeBucket:
Type: String
Resources:
Makesnap3Policy:
Type: "AWS::IAM::ManagedPolicy"
Properties:
PolicyDocument:
Version: "2012-10-17"
@astrostl
astrostl / gist:8317584db4f892393996e02cfd5b9433
Last active October 24, 2016 21:37
Twitter Tag Plus Photo
"""Twitter Tag Plus Photo"""
from os import environ
from sys import argv
from urllib.request import urlretrieve
import twitter
if len(argv) < 2:
exit('Usage: ' + argv[0] + ' hashtag [slackchannel]')
elif len(argv) == 3:
from slacker import Slacker
/etc/puppetlabs/code/environments/production/manifests
```
hiera_include('classes')
```
/etc/puppetlabs/puppet
```
---
`puppet module list --tree`
├─┬ puppetlabs-splunk (v4.0.0)
│ └── puppet-staging (v2.0.0)
`puppet module install puppetlabs-rabbitmq`
Error: Could not install module 'puppetlabs-rabbitmq' (latest)
Dependency 'nanliu-staging' (v1.0.3) would overwrite /etc/puppetlabs/code/environments/production/modules/staging
Currently, 'puppet-staging' (v2.0.0) is installed to that directory
Use `puppet module install --ignore-dependencies` to install only this module
### Keybase proof
I hereby claim:
* I am astrostl on github.
* I am astrostl (https://keybase.io/astrostl) on keybase.
* I have a public key whose fingerprint is 1DC1 6E65 EFC3 7B53 FB9B A26B 964A 5504 0040 E2A7
To claim this, I am signing this object: