Last active
May 17, 2018 15:48
-
-
Save amolthacker/0180384669c68f58bc41745cb28746e3 to your computer and use it in GitHub Desktop.
This file contains 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 | |
BLUEPRINT_NAME="Data Governance: Apache Atlas, Apache Ranger" | |
BLUEPRINT_DESCRIPTION="Useful for Data Governance and Security using Apache Atlas and Apache Ranger" | |
jq --arg bpname "blueprint_name" --arg name ${BLUEPRINT_NAME} '.Blueprints[$bpname] = $name' < ambari-blueprint.json > ambari-blueprint-updated.json | |
cb blueprint create from-file --file ambari-blueprint-updated.json --name ${BLUEPRINT_NAME} --description ${BLUEPRINT_DESCRIPTION} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment