This file contains hidden or 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
| Accepted Keys: | |
| test-salt-pro | |
| Denied Keys: | |
| test-salt-pro | |
| Unaccepted Keys: | |
| test-salt-pro |
This file contains hidden or 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
| {% set regionname = salt['cmd.run']("curl http://169.254.169.254/latest/dynamic/instance-identity/document|grep region|awk -F\\" '{print $4}'") %} |
This file contains hidden or 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
| {% set region_name = salt.cmd.run("curl http://169.254.169.254/latest/dynamic/instance-identity/document|grep region|awk -F\" '{print $4}'") %} | |
| {% set bucket_name = { | |
| 'us-east-1': 'aws-codedeploy-us-east-1', | |
| 'us-west-2': 'aws-codedeploy-us-west-2', | |
| 'eu-west-1': 'aws-codedeploy-eu-west-1', | |
| 'ap-southeast-2': 'aws-codedeploy-ap-southeast-2', | |
| 'ap-northeast-1': 'aws-codedeploy-ap-northeast-1', | |
| }.get(region_name) %} |
This file contains hidden or 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
| ---------- | |
| ID: consul | |
| Function: archive.extracted | |
| Name: /opt/consul | |
| Result: True | |
| Comment: /opt/consul/ already exists | |
| Started: 21:08:54.520311 | |
| Duration: 1.295 ms | |
| Changes: | |
| ---------- |
This file contains hidden or 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
| docker run --rm -it \ | |
| -v "$(pwd)":/app \ | |
| -e "GOPATH=/gopath" \ | |
| -w /app \ | |
| golang:1.4.2 \ | |
| sh -c "go get -u -d ./... && go build -o example" |
This file contains hidden or 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
| frontend main | |
| acl S3HelpPage path /help | |
| use_backend s3help if S3HelpPage | |
| backend s3help | |
| reqirep ^([^\ :]*)\ /help([^\/])(.*) \1\ /help/index.html \3 | |
| server s3help s3.amazonaws.com:80 check |
This file contains hidden or 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
| ... | |
| <link rel="import" href="my-service.html"> | |
| </head> | |
| <body> | |
| <my-service my="{{output}}"></my-service> | |
| <h3>[[output.my]]</h3> | |
| </body> | |
| </html> |
This file contains hidden or 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
| package a | |
| import ( | |
| "fmt" | |
| ) | |
| type A string | |
| var AS A = New() |
This file contains hidden or 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
| FROM kyani/modx:latest | |
| RUN apt-get update | |
| RUN apt-get -yqq install wget | |
| RUN apt-get -yqq install python-setuptools | |
| RUN easy_install pip | |
| RUN mkdir -p /opt/newrelic | |
| WORKDIR /opt/newrelic | |
| RUN wget -r -nd --no-parent -Alinux.tar.gz \ | |
| http://download.newrelic.com/php_agent/release/ >/dev/null 2>&1 \ |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "sync" | |
| ) | |
| type LimitedRoundTripper struct { | |
| inflight chan interface{} |