FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


Sidebar


Top     SiteMap

Manager Server

Target Server

$FHHOME/bin/xxx.sh | xxxx.exp













.

preparation:fhhome:init.py.html



This is an old revision of the document!


Top#Preparation

$FHHOME/fabfile/__init__.py

fabfile/__init__.py

import sys, select
from fabric.api import *
from fabric.contrib import files
   
env.warn_only = True
env.port = 22
env.eagerly_disconnect = True
 
 
if select.select([sys.stdin,],[],[],0.0)[0]:
    lines = sys.stdin.read().splitlines()
    env.hosts = filter(bool, lines)
 
 
import auth
import test
 
## OS Management
import user
import pkg
import net
import set
import get
import check
import ope
 
## Middleware Management
import httpd
import nginx
import postfix
import squid
 
## Programing Languages
import php






Top#Preparation



preparation/fhhome/init.py.html.1517753380.txt.gz ยท Last modified: 2018/02/04 23:09 by kurihara