vpsfreecz / vpsfree-cz-configuration

vpsFree.cz cluster configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vpsFree.cz cluster configuration

This repository contains Nix configuration of vpsFree.cz infrastructure, i.e. vpsAdminOS-powered nodes, machines and related services run in containers.

Requirements

Usage

First, setup confctl. For now, confctl and vpsfree-cz-configuration should be cloned to adjacent directories.

Clone the repositories:

git clone https://github.com/vpsfreecz/confctl
git clone https://github.com/vpsfreecz/vpsfree-cz-configuration

Change into the configuration directory and run nix-shell:

cd vpsfree-cz-configuration
nix-shell

Hosts can be built and deployed using confctl, see confctl or man confctl for more information.

Examples

# List available hosts
confctl ls

# Build all hosts
confctl build

# Build selected hosts
confctl build "cz.vpsfree/nodes/stg/*"

# Deploy all hosts
confctl deploy

# Try to deploy configuration of selected hosts
confctl deploy "cz.vpsfree/nodes/stg/*" dry-activate

About

vpsFree.cz cluster configuration

License:MIT License


Languages

Language:Nix 89.1%Language:Ruby 10.5%Language:Makefile 0.3%Language:Shell 0.1%