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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# | |
# Vagrantfile to create a CentOS 7 master and 3 nodes | |
# | |
# These VMs can be useful for prototyping new systems such | |
# as monitoring, mail, configuration management, load balancing | |
# etc etc. | |
# | |
# You will need a Puppet directory structure inside the |
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
import time # need for sleep | |
from xml.dom import minidom | |
import json, pprint | |
import requests | |
from requests.packages.urllib3.exceptions import InsecureRequestWarning | |
requests.packages.urllib3.disable_warnings(InsecureRequestWarning) | |