Etckeeper

Channel Version Revision Published Runs on
latest/stable 4 4 01 Feb 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
juju deploy etckeeper
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.

Platform:

Ubuntu
20.04 18.04 16.04

About

etckeeper allows changes to /etc to be stored in a VCS repo Read more


Relevant links


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

etckeeper charm

Overview

This charm will deploy and configure etckeeper.

etckeeper is a tool which will maintain a VCS repository for the contents of /etc on a live system.

The goal is to ensure that all changes to system configuration are committed to the repository, allowing historical snapshots to be taken so tha changes in configuration can be tracked.

Optionally, if a remote is specified, this can be useful for backing up the contents of /etc on deployed units for auditing and backup purposes.

etckeeper integrates with several system hooks, including package installation, to make sure changes are captured in a timely manner. Optionally, a daily timer can be enabled to take a snapshot once per day, to capture any changes made manually.

Configuration

This charm supports the following options:

  • vcs: Specify the VCS type. Defaults to git.
  • vcs-remote: When enabled, enables pushing of changes to a remote repository at commit-time.
  • daily: enables a daily commit of any changes to /etc. If a remote is enabled, will also push changes to the remote repoistory.

Development

To build: make release

To test (lint, unit and functional): make test

About

This charm is written and maintained by "James Hebden" of Canonical.

Launchpad

Bugs