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
#!/usr/bin/env python | |
# Copyright © 2016 Dan Sheridan <[email protected]> | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
import salt.client | |
import argparse | |
import sys | |
import fnmatch |
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
#!/usr/bin/env python | |
import salt.client | |
import argparse | |
import sys | |
parser = argparse.ArgumentParser(description='Check if minions are online.') | |
parser.add_argument('hostname', help='The name of the minion to be checked') | |
args = parser.parse_args() |
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
ERROR: Unrecognized command | |
DESCRIPTION: | |
SC is a command line program used for communicating with the | |
Service Control Manager and services. | |
USAGE: | |
sc <server> [command] [service name] <option1> <option2>... | |
The option <server> has the form "\\ServerName" |
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
# defaults file for spideroak daemon headless mode | |
# SpiderOak does not currently support handling the initial setup of | |
# an account, or setup of a new device within an account entirely from | |
# the command line. This is because the new user setup process requires | |
# the user to answer a CAPTCHA and some other validation processes. | |
# | |
# Instead, we recommend connecting to the headless server using "ssh -X" | |
# to forward X11 connections back to your local desktop machine with X11 | |
# running. Within your ssh session to the headless server, run SpiderOak |