Skip to content

Instantly share code, notes, and snippets.

View glinmac's full-sized avatar
🎧
https://home.lonofi.com/

Guillaume Gardey glinmac

🎧
https://home.lonofi.com/
View GitHub Profile
@glinmac
glinmac / ambari-api
Last active December 23, 2020 02:00
ambari api examples
#!/bin/sh
AMBARI_USER=admin
AMBARI_PASSWORD=
CLUSTER_NAME=sandbox
AMBARI_API=http://127.0.0.1:8080/api/v1/clusters/$CLUSTER_NAME
BLUEPRINT_API=http://127.0.0.1:8080/api/v1/blueprints
hostname="hostname.example.com"
service="aservice"