We have a server(node) accessible by SSH. We want to provision using Chef recipes stored on our local chef repo.
We will use gem knife-zero.
Find an example of Chef repo here.
We have a server(node) accessible by SSH. We want to provision using Chef recipes stored on our local chef repo.
We will use gem knife-zero.
Find an example of Chef repo here.
| #!/bin/bash | |
| set -o errexit -o nounset -o pipefail | |
| export LC_ALL=C | |
| # Checks for NVMe disks. nmve-cli must be installed. | |
| # | |
| # Author: Tomas Barton | |
| # Requirements: | |
| # nvme-cli - git clone https://github.com/linux-nvme/nvme-cli | |
| # | |
| # Usage: |
| #!/bin/bash | |
| declare -a ADJECTIVE | |
| declare -a CRITTER | |
| ADJECTIVE=(white red blue pink green brown dark light big small tiny earth glass air) | |
| # or, for more variation, feed it a list of adjectives from a file, one word per line. | |
| # the same could be done for the CRITTER array | |
| #ADJECTIVE=($(cat /home/frank/adjectives)) | |
| CRITTER=(frog hound fish lizard gator moose monkey whale hippo fox bird weasel owl cow pig hog donkey duck executive manager lawyer accountant) |