/fleet

This repository contains an Elixir API library interacting with Fleet and systemd.

Primary LanguageElixirMozilla Public License 2.0MPL-2.0

OpenAperture.Fleet

Build Status

This reusable Elixir messaging library contains several modules for working with Fleet and CoreOS. It provides the following features:

  • Provides a Parser for Fleet service files (converts to the appropriate Map)
  • Provides a Systemd wrapper for executing systemd calls
  • Provides an Etcd wrapper for executing Etcd calls
  • Provides a cache for storing Etcd instances

Contributing

To contribute to OpenAperture development, view our contributing guide

Module Configuration

The following configuration values must be defined as part of your application's environment configuration files:

  • Temporary Directory
    • Type: String
    • Description: The locatino of the temporary directory for writing files
    • Environment Configuration (.exs): :openaperture_fleet, :tmpdir

Building & Testing

The normal elixir project setup steps are required:

mix do deps.get, deps.compile

You can then run the tests

MIX_ENV=test mix test test/