I hereby claim:
- I am dannykansas on github.
- I am dannyincolor (https://keybase.io/dannyincolor) on keybase.
- I have a public key ASDbgq4t7cN1bBlW697fdEl_igvk7g7NYchTAEDyeqbAvAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Tue Jun 5 22:22:14 UTC 2018 |
#!/bin/python | |
# | |
# Credit: "Ex Machina" film team | |
# See: https://i.imgur.com/C44iJeR.jpg | |
# ------------------------------- | |
#BlueBook code decryption | |
import sys |
# nodeless site.pp | |
# the role is based on hostname | |
case $::hostname { | |
/web/: { $role = 'web' } | |
/app/: { $role = 'app' } | |
/db/: { $role = 'db' } | |
/work/: { $role = 'worker' } | |
default: { $role = 'default' } | |
} |
# output of `tree -L 2` | |
├── auth.conf | |
├── environments | |
│ ├── prod | |
│ └── test | |
├── fileserver.conf | |
├── hiera.yaml | |
├── hieradata |