simple streams #2

Supports: bionic
Add to new model

Description

Simple Streams describe streams of like items in a structural fashion. A client provides a way to sync or act on changes in a remote stream.


Simple Streams

Description

Simple Streams describe streams of like items in a structural fashion. A client provides a way to sync or act on changes in a remote stream.

Usage

The charm can be deployed using juju:

juju deploy cs:simple-streams

Developing

Create and activate a virtualenv, and install the development requirements,

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt

Testing

Just run run_tests:

./run_tests

Configuration

copy-on-snapshot
(boolean) Copy all data on snapshot (otherwise only metadata is copied).
cron-schedule
(string) The cron tab time entry for automatic synchronisation.
None
image-dir
(string) The location where the synced images will be stored.
/var/www/html/maas/images/ephemeral-v3/daily
image-max
(int) The maximum number of image releases to sync.
1
image-selectors
(string) The list of image selector, one per line.
arch=amd64 release~(bionic) os~(grub*|pxelinux)
image-source
(string) Upstream image source.
https://images.maas.io/ephemeral-v3/daily/
keep
(boolean) Keep items in target up to MAX items even after they have fallen out of the source.
True
keyring-file
(string) GPG keysring of the upstream repository.
/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
log-file
(string) Simple stream log file.
path
(string) Sync from index or products file in mirror.
verbose
(boolean) Verbose output.