db Package

db Package

fabric_colors.db.sphinx_sanity_check()[source]

This is where our database fabric functions exist.

mongodb Module

fabric_colors.db.mongodb.initializer[source]

Enable initializer for mongodb

fabric_colors.db.mongodb.install[source]

Install mongodb and start it if it isn’t running.

fabric_colors.db.mongodb.installed[source]

Check if mongodb is installed.

fabric_colors.db.mongodb.restart[source]

Restart mongodb

fabric_colors.db.mongodb.start[source]

Start mongodb

fabric_colors.db.mongodb.status[source]

Is mongodb already running?

fabric_colors.db.mongodb.stop[source]

Stop mongodb

postgis Module

fabric_colors.db.postgis.create_template[source]
fabric_colors.db.postgis.install[source]

Distro-agnostic way of installing postgis2.

fabric_colors.db.postgis.installed[source]

Distro-agnostic way of checking if postgis2 is installed.

postgresql Module

fabric_colors.db.postgresql.chk_data_dir[source]

Distro-agnostic checking postgresql’s data directory

fabric_colors.db.postgresql.chk_db[source]

Checks if such a database exist.

fabric_colors.db.postgresql.create_db[source]
fabric_colors.db.postgresql.enable_postgis(*args, **kwargs)[source]
fabric_colors.db.postgresql.initializer[source]

Distro-agnostic: set up initializations script for postgresql

fabric_colors.db.postgresql.install[source]

Distro-agnostic way of installing postgresql.

fabric_colors.db.postgresql.installed[source]

Distro-agnostic way of checking if postgresql is installed.

fabric_colors.db.postgresql.pg_hba_conf(*args, **kwargs)[source]

Set our pg_hba.conf to our preferred defaults.

fabric_colors.db.postgresql.postgresql_conf(*args, **kwargs)[source]

In postgresq.conf, toggle listen to * or specific IP or commented out

fabric_colors.db.postgresql.restart[source]

Distro-agnostic: restart postgresql

fabric_colors.db.postgresql.setup_data_dir[source]

Distro-agnostic: set up postgresql data directory

fabric_colors.db.postgresql.start[source]

Distro-agnostic: start postgresql

fabric_colors.db.postgresql.status[source]

Distro-agnostic checking postgresql status

fabric_colors.db.postgresql.stop[source]

Distro-agnostic: stop postgresql

Table Of Contents

Previous topic

fabric_colors Package

Next topic

deploy Package

This Page