I hereby claim:
- I am m-richo on github.
- I am m_richo (https://keybase.io/m_richo) on keybase.
- I have a public key whose fingerprint is 7167 42CF 5636 9B2D 64F9 160C 6DE9 B6B0 D4C8 2358
To claim this, I am signing this object:
| #!/bin/bash | |
| set -eu | |
| set -o pipefail | |
| API_ENDPOINT=$(cf api |grep "endpoint" |awk -F "https://" '{print $2}') | |
| rm -f $API_ENDPOINT.csv | |
| echo "Running audit for $API_ENDPOINT" | |
| echo "Output is in $API_ENDPOINT.csv" |
| Mon Nov 14 01:06:50 UTC 2016 |
I hereby claim:
To claim this, I am signing this object:
| upstream backend_hosts { | |
| {{ $nodes := split (getenv "app_servers") ":" }}{{range $nodes}} | |
| server {{.}};{{end}} | |
| } |
| CMD ["/start.sh"] |
| #!/bin/bash | |
| set -e | |
| # if $proxy_domain is not set, then default to $HOSTNAME | |
| export proxy_domain=${proxy_domain:-$HOSTNAME} | |
| # ensure the following environment variables are set. exit script and container if not set. | |
| test $backend_host | |
| /usr/local/bin/confd -onetime -backend env |
| ADD files/confd /etc/confd |
| server { | |
| server_name {{ getenv "proxy_domain" }}; | |
| location / { | |
| proxy_pass http://{{ getenv "backend_host" }}; | |
| proxy_redirect off; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| } | |
| } |
| ADD https://github.com/kelseyhightower/confd/releases/download/v0.10.0/confd-0.10.0-linux-amd64 /usr/local/bin/confd | |
| RUN chmod +x /usr/local/bin/confd |
| [root@michaelr ~]# puppet help help help help help | |
| %%%% | |
| %%%%-( | |
| _%%%%%_/ \ ' / | |
| _%%%%%%%% - (_) - | |
| _%%%%%%%/ \% / , \ | |
| %%%%%%%%%\\ \_ | |
| %%%%%% \ \\ | |
| ) /\_/ |