Skip to content

shuoli84/fabric-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package contains some common tasks for fabric.

Including:

install mysql

    # db_env will prompt for root password and database user password
    db_env(database="databasename", database_user="databaseuser")

    # Now install the mysql server or client by setting flags
    install_mysql(server=True, client=True)

    # Then create database and user
    create_database()
    create_user()

install apache2
    from fabric-components/apache import *

    # This will install apache and mod wsgi
    install_apache(mods=['list', 'of', 'enabled', 'mod'], disable_sites=['default'])

About

Fabric components contains some common components installation functions, including apache2, mysql etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages