@@ -0,0 +1,595 @@
+'''%0AExecute puppet routines%0A'''%0A%0Adef _check_puppet():%0A    '''%0A    Checks if puppet is installed%0A    '''%0A    # I thought about making this a virtual module, but then I realized that I%0A    # would require the minion to restart if puppet was installed after the%0A    # minion was started, and that would be rubbish%0A    return __salt__%5B'cmd.has_exec'%5D('puppet')%0A%0Adef run():%0A    '''%0A    Execute a puppet run and return a dict with the stderr,stdout,return code%0A    etc.%0A%0A    CLI Example:%0A    salt '*' puppet.run%0A    '''%0A    if _check_puppet():%0A        return __salt__%5B'cmd.run_all'%5D('puppetd --test')%0A

Add puppet module, needs more work