Skip to content

Instantly share code, notes, and snippets.

@bcarpio
Created March 30, 2012 15:53
Show Gist options
  • Save bcarpio/2252405 to your computer and use it in GitHub Desktop.
Save bcarpio/2252405 to your computer and use it in GitHub Desktop.
puppet.py
from fabric.api import *
from fabric.operations import local,put
import paramiko
import socket
import subprocess
import os
@task
# @parallel
def puppetd_test():
""" Runs puppetd --test Which Will Update Puppet Changes """
env.warn_only = True
run ('puppetd --test')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment