Skip to content

Instantly share code, notes, and snippets.

@nherbaut
Created February 2, 2016 10:47
Show Gist options
  • Select an option

  • Save nherbaut/9be6440cca9b7b3c8330 to your computer and use it in GitHub Desktop.

Select an option

Save nherbaut/9be6440cca9b7b3c8330 to your computer and use it in GitHub Desktop.
import subprocess
import json
subprocess.call(["apt-get install salt-master --yes"],shell=True)
with open("data.json") as f:
data=json.loads(f.read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment