GitHunt
CH

chanchiwai-ray/operator-libs-linux

Linux helper libraries for the operator framework

Linux Libraries for Operator Framework Charms

Release Libraries
Release to Charmhub

Description

The operator-libs-linux charm provides a set of charm libraries which can be used for managing and manipulating Debian packages, snap packages, system repositories, users and groups, and other operations
that charm authors may need to carry out when authoring machine charms.

This charm is not meant to be deployed itself, and is used as a mechanism for hosting libraries
only.

Usage

Each library contains information on usage and code examples. They are meant to be complete as
standalone libraries, and should be managed as charm libraries, with installation via fetch-lib,
after which they may be imported and used as normal charms.

  • apt - a library that enables the installation of Debian packages and management of system package repositories.
  • snap - a library for installing and working with snap packages.
  • systemd - a library for manipulating services managed by the systemd init system.
  • passwd - a library for manipulating Linux users and groups.
  • grub - a library for managing Linux kernel configuration via GRUB.
  • sysctl - a library for managing kernel parameters at runtime via sysctl.
  • juju-systemd-notices - a library for utilizing systemd to observe and emit notices when services change state.

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this
charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

Languages

Python100.0%
Apache License 2.0
Created August 23, 2023
Updated March 31, 2025