Skip to content

Latest commit

 

History

History
66 lines (64 loc) · 1.86 KB

README.md

File metadata and controls

66 lines (64 loc) · 1.86 KB

FFMUC-SALT-PUBLIC Repo

This is the salt repo for Freifunk Munich

Dependencies

This repo makes heavy use of Netbox based ext-pillar information especially config_contexts, services and ip information

Sample config_context

{
    "docker": {
        "cfssl": {
            "container_dir": "/srv/docker/cfssl",
            "credentials": {
                "db_password": "password"
            },
            "mounts": [
                "/srv/docker/postgresql-cfssl/data",
                "/srv/docker/cfssl/data",
                "/srv/docker/postgresql-cfssl/data"
            ]
        },
        "openldap": {
            "container_dir": "/srv/docker/openldap",
            "credentials": {
                "admin_user": "password",
                "readonly_user": "password"
            },
            "mounts": [
                "/srv/docker/openldap/data",
                "/srv/docker/openldap/config",
                "/srv/docker/openldap/certs"
            ]
        },
        "zammad": {
            "container_dir": "/srv/docker/zammad-docker-compose",
            "git": "https://github.com/zammad/zammad-docker-compose.git",
            "mounts": [
                "/srv/docker/zammad-backup",
                "/srv/docker/zammad-data",
                "/srv/docker/elasticsearch-zammad/data",
                "/srv/docker/postgresql-zammad/data"
            ]
        }
    },
    "roles": [
        "backup_client",
        "icinga2_client"
    ],
    "ssh_host_key": {
        "ssh_host_ecdsa_key": "",
        "ssh_host_ecdsa_key.pub": "",
        "ssh_host_ed25519_key": "",
        "ssh_host_ed25519_key.pub": "",
        "ssh_host_rsa_key": "",
        "ssh_host_rsa_key.pub": ""
    },
    "ssh_user_keys": {
        "admins": {
            "admin1": "ssh-rsa key-data"
        },
        "system_users": {},
        "users": {}
    },
    "user_home": {}
}