Compare packages and versions on servers
Project description
installed-packages-diff - Compare packages and versions on servers
Features
- collects packages and version via ssh
- calculated and prints the differences
- supports rpm and dpkg
Prerequisites
- GNU make
- python >= 3.6
- pipenv
Usage
Create a config as described below.
pip install --user installed-packages-diff
python3 -m installed_packages_diff ./config.yaml
Development
Setup
make install_deps
Run tests
make tests
Create a config config.yml
version: 'installed-packages-diff/2'
groups:
web:
type: rpm # or dpkg
servers:
- username: root
hostname: web-dev
excludes:
- "missing"
- username: root
hostname: web-live
Run installed-packages-diff
make run
License
Copyright (c) 2021 by Cornelius Buschka.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for installed-packages-diff-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec0d22bac68f9bd451c0839ac4862f2a44dc4a36299a58d4aff08d77019bd7a |
|
MD5 | 00015d8092144dd33f4dab83b88dc9e5 |
|
BLAKE2b-256 | 5268666e9c0915747ca7d5c15859601b7b1f6780a186dc3a774723be685f199b |
Close
Hashes for installed_packages_diff-2.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe61e877dd0ac51878f59b3f48639d75eb509eec23cebd758bf35dc15531b04d |
|
MD5 | d2b38abaa6dcfac27cb5d2a39ace1e64 |
|
BLAKE2b-256 | d54d8fb6f78da864924fe179f503af275c13695872c3f1a1bfcba18ff293d3fb |