What your block devices look like before mapping:
ubuntu@cpu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 100G 0 disk
└─xvda1 202:1 0 100G 0 part /
ubuntu@cpu:~$
| nginx: | |
| pkg: | |
| - installed | |
| service.running: | |
| - pkg: nginx | |
| - watch: | |
| - pkg: nginx | |
| - file: /etc/nginx/nginx.conf | |
| - file: /etc/nginx/mime.types | |
| - file: /etc/nginx/sites-enabled/FOOBAR |
| Newrelic - install repo: | |
| cmd.run: | |
| - name: rpm -Uvh http://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm | |
| - unless: rpm -qa | grep newrelic-repo | |
| newrelic-sysmond: | |
| pkg: | |
| - installed | |
| - require: | |
| - cmd: Newrelic - install repo |
| base: | |
| "*": | |
| - baseRequirements | |
| - baseRequirements.vim | |
| - baseRequirements.limits | |
| - baseRequirements.rpmrepo-treasuredata.sls | |
| - fluentd | |
| - sysctl | |
| - system.set_hostname | |
| - FOOBARApp.tag |
What your block devices look like before mapping:
ubuntu@cpu:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 100G 0 disk
└─xvda1 202:1 0 100G 0 part /
ubuntu@cpu:~$
git fetch -p && git branch --merged master | grep -v '^ *master$' | xargs git branch -d
alias delete-merged-branches="git fetch -p && git branch --merged master | grep -v '^ *master$' | xargs git branch -d"
| import boto3 | |
| from botocore.exceptions import ClientError | |
| from sceptre.resolvers import Resolver | |
| import json | |
| def get_secret(secret_name, secret_key, region): | |
| endpoint_url = "https://secretsmanager." + region + ".amazonaws.com" | |
| region_name = region |