Code Monkey home page Code Monkey logo

openldap's Introduction

Build Status

fleet

Leveraging Docker Engine's built-in Swarm Mode on Ubuntu Server LTS Virtual Machines. This is the first piece of code that should be executed against a fresh host on the diesel.net domain

Checking-In New Hosts

To add a new host (or set of hosts) create a new local branch name with the pattern check-in/*, add the new hosts and their configuration to the inventory, then push. Please delete your check-in/* branch after merging.

Bootstrapping Hosts

Pushes to stable branches will trigger the entire fleet to be bootstrapped.

Updating Hosts

You will need the following installed:

Python 3.11+

  1. Create a Python Virtual Environment (venv) and activate it.

    python3 -m venv venv
    source venv/bin/activate
  2. Install Ansible.

    pip install --upgrade pip setuptools wheel pip-tools
    pip install ansible==7.2.0
  3. Install Ansible roles.

    ansible-galaxy install --force --role-file .ansible/roles/check-in_requirements.yaml --roles-path .ansible/roles
  4. Update all the Ubuntu hosts's Apt packages and reboot if necessary.

    ansible-playbook --inventory .ansible/inventories/dev  --inventory .ansible/inventories/prod --extra-vars auto_reboot=yes .ansible/update.yaml

openldap's People

Contributors

tomdaley92 avatar

Stargazers

 avatar

Watchers

 avatar

openldap's Issues

Treat slapd folder as persistent data, not config

When the container starts for the first time, the slapd configuration is "generated", however when migrating the service to a new VM recently, It would complain, saying:

"slapd directory is empty although database contains data"

and then exit.

So we should treat this folder as data. perhaps reorganize and create some subdirectories under the data folder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.