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
| authtoken: 1.... | |
| json_resolver_url: "" | |
| dns_resolver_ips: [] | |
| console_ui: false | |
| log_format: logfmt | |
| log: /opt/ngrok/ngrok.log | |
| region: eu | |
| tunnels: | |
| ssh: | |
| proto: tcp |
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
| { | |
| "images": { | |
| "base-images": [ | |
| { | |
| "date": "2019-03-13", | |
| "description": "Cloudbreak official base image", | |
| "images": { | |
| "gcp": { | |
| "default": "sequenceiqimage/cb-hdp--1903141310.tar.gz" | |
| } |
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
| #!/bin/bash | |
| : ${LOG_LOCATION:="/var/log/cbd-quick-start.log"} | |
| if [[ "$0" == "$BASH_SOURCE" ]]; then | |
| exec > >(tee $LOG_LOCATION | logger -t user-data -s 2>/dev/console) 2>&1 | |
| set -o allexport | |
| set -o errexit | |
| set -o errtrace |
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
| : << USAGE | |
| ############################## | |
| curl -LO https://gist.github.com/lalyos/427e66100e9d9791bcacff9d05e4960f/raw/simple.sh; chmod +x simple.sh | |
| ./simple.sh | |
| ############################## | |
| USAGE | |
| key_name=seq-master | |
| stack_name=simple-stack-$(date | sed 's/ .*//')-$(date +%H%M) | |
| email=${USER}@hortonworks.com |
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
| # List the blobs in an Azure storage container. | |
| echo "usage: ${0##*/} <storage-account-name> <container-name> <access-key>" | |
| storage_account="$1" | |
| container_name="$2" | |
| access_key="$4" | |
| blob_store_url="blob.core.windows.net" | |
| http="https" |
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
| CREATE TABLE network ( | |
| dtype character varying(31) NOT NULL, | |
| id bigint NOT NULL, | |
| account character varying(255), | |
| description text, | |
| name character varying(255) NOT NULL, | |
| owner character varying(255), | |
| publicinaccount boolean NOT NULL, | |
| status character varying(255), |
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
| { | |
| "configurations" : [ | |
| { | |
| "global" : { | |
| "nagios_contact" : "" | |
| } | |
| } | |
| ], | |
| "host_groups" : [ | |
| { |
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
| { | |
| "configurations": [ | |
| { | |
| "global": { | |
| "nagios_contact": "", | |
| "fs.gs.impl": "com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem", | |
| "fs.AbstractFileSystem.gs.impl": "com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS", | |
| "fs.gs.project.id":"${GOOGLE_PROJECT_ID}", | |
| "google.cloud.auth.service.account.enable":true, | |
| "google.cloud.auth.service.account.email":"${GOOGLE_SERVICE_ACCOUNT_EMAIL}", |